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

Side by Side Diff: net/quic/core/crypto/ephemeral_key_source.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_EPHEMERAL_KEY_SOURCE_H_ 5 #ifndef NET_QUIC_CRYPTO_EPHEMERAL_KEY_SOURCE_H_
6 #define NET_QUIC_CRYPTO_EPHEMERAL_KEY_SOURCE_H_ 6 #define NET_QUIC_CRYPTO_EPHEMERAL_KEY_SOURCE_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/quic_time.h" 12 #include "net/quic/core/quic_time.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class KeyExchange; 16 class KeyExchange;
17 class QuicRandom; 17 class QuicRandom;
18 18
19 // EphemeralKeySource manages and rotates ephemeral keys as they can be reused 19 // EphemeralKeySource manages and rotates ephemeral keys as they can be reused
20 // for several connections in a short space of time. Since the implementation 20 // for several connections in a short space of time. Since the implementation
21 // of this may involve locking or thread-local data, this interface abstracts 21 // of this may involve locking or thread-local data, this interface abstracts
22 // that away. 22 // that away.
(...skipping 10 matching lines...) Expand all
33 const KeyExchange* key_exchange, 33 const KeyExchange* key_exchange,
34 QuicRandom* rand, 34 QuicRandom* rand,
35 QuicTime now, 35 QuicTime now,
36 base::StringPiece peer_public_value, 36 base::StringPiece peer_public_value,
37 std::string* public_value) = 0; 37 std::string* public_value) = 0;
38 }; 38 };
39 39
40 } // namespace net 40 } // namespace net
41 41
42 #endif // NET_QUIC_CRYPTO_EPHEMERAL_KEY_SOURCE_H_ 42 #endif // NET_QUIC_CRYPTO_EPHEMERAL_KEY_SOURCE_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/curve25519_key_exchange_test.cc ('k') | net/quic/core/crypto/key_exchange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698