Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(921)

Side by Side Diff: net/quic/core/crypto/key_exchange.h

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_CRYPTO_KEY_EXCHANGE_H_ 5 #ifndef NET_QUIC_CRYPTO_KEY_EXCHANGE_H_
6 #define NET_QUIC_CRYPTO_KEY_EXCHANGE_H_ 6 #define NET_QUIC_CRYPTO_KEY_EXCHANGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/quic/crypto/crypto_protocol.h" 12 #include "net/quic/core/crypto/crypto_protocol.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class QuicRandom; 16 class QuicRandom;
17 17
18 // KeyExchange is an abstract class that provides an interface to a 18 // KeyExchange is an abstract class that provides an interface to a
19 // key-exchange primitive. 19 // key-exchange primitive.
20 class NET_EXPORT_PRIVATE KeyExchange { 20 class NET_EXPORT_PRIVATE KeyExchange {
21 public: 21 public:
22 virtual ~KeyExchange() {} 22 virtual ~KeyExchange() {}
(...skipping 15 matching lines...) Expand all
38 // KeyExchange exists. 38 // KeyExchange exists.
39 virtual base::StringPiece public_value() const = 0; 39 virtual base::StringPiece public_value() const = 0;
40 40
41 // tag returns the tag value that identifies this key exchange function. 41 // tag returns the tag value that identifies this key exchange function.
42 virtual QuicTag tag() const = 0; 42 virtual QuicTag tag() const = 0;
43 }; 43 };
44 44
45 } // namespace net 45 } // namespace net
46 46
47 #endif // NET_QUIC_CRYPTO_KEY_EXCHANGE_H_ 47 #endif // NET_QUIC_CRYPTO_KEY_EXCHANGE_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/ephemeral_key_source.h ('k') | net/quic/core/crypto/local_strike_register_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698