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

Side by Side Diff: net/quic/test_tools/mock_crypto_client_stream.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
« no previous file with comments | « net/quic/test_tools/mock_clock.h ('k') | net/quic/test_tools/mock_crypto_client_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_
6 #define NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_ 6 #define NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" 11 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
12 #include "net/quic/crypto/crypto_handshake.h" 12 #include "net/quic/core/crypto/crypto_handshake.h"
13 #include "net/quic/crypto/crypto_protocol.h" 13 #include "net/quic/core/crypto/crypto_protocol.h"
14 #include "net/quic/quic_client_session_base.h" 14 #include "net/quic/core/quic_client_session_base.h"
15 #include "net/quic/quic_crypto_client_stream.h" 15 #include "net/quic/core/quic_crypto_client_stream.h"
16 #include "net/quic/quic_server_id.h" 16 #include "net/quic/core/quic_server_id.h"
17 #include "net/quic/quic_session.h" 17 #include "net/quic/core/quic_session.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 class MockCryptoClientStream : public QuicCryptoClientStream { 21 class MockCryptoClientStream : public QuicCryptoClientStream {
22 public: 22 public:
23 // HandshakeMode enumerates the handshake mode MockCryptoClientStream should 23 // HandshakeMode enumerates the handshake mode MockCryptoClientStream should
24 // mock in CryptoConnect. 24 // mock in CryptoConnect.
25 enum HandshakeMode { 25 enum HandshakeMode {
26 // CONFIRM_HANDSHAKE indicates that CryptoConnect will immediately confirm 26 // CONFIRM_HANDSHAKE indicates that CryptoConnect will immediately confirm
27 // the handshake and establish encryption. This behavior will never happen 27 // the handshake and establish encryption. This behavior will never happen
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 const QuicServerId server_id_; 64 const QuicServerId server_id_;
65 const ProofVerifyDetailsChromium* proof_verify_details_; 65 const ProofVerifyDetailsChromium* proof_verify_details_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStream); 67 DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStream);
68 }; 68 };
69 69
70 } // namespace net 70 } // namespace net
71 71
72 #endif // NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_ 72 #endif // NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/mock_clock.h ('k') | net/quic/test_tools/mock_crypto_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698