| OLD | NEW |
| 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_FACTORY_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_FACTORY_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_FACTORY_H_ | 6 #define NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_FACTORY_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "net/quic/quic_crypto_client_stream.h" | 12 #include "net/quic/quic_crypto_client_stream.h" |
| 12 #include "net/quic/quic_crypto_client_stream_factory.h" | 13 #include "net/quic/quic_crypto_client_stream_factory.h" |
| 13 #include "net/quic/test_tools/mock_crypto_client_stream.h" | 14 #include "net/quic/test_tools/mock_crypto_client_stream.h" |
| 14 | 15 |
| 15 namespace net { | 16 namespace net { |
| 16 | 17 |
| 17 class QuicServerId; | 18 class QuicServerId; |
| 18 | 19 |
| 19 class MockCryptoClientStreamFactory : public QuicCryptoClientStreamFactory { | 20 class MockCryptoClientStreamFactory : public QuicCryptoClientStreamFactory { |
| 20 public: | 21 public: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 MockCryptoClientStream::HandshakeMode handshake_mode_; | 43 MockCryptoClientStream::HandshakeMode handshake_mode_; |
| 43 MockCryptoClientStream* last_stream_; | 44 MockCryptoClientStream* last_stream_; |
| 44 std::queue<const ProofVerifyDetails*> proof_verify_details_queue_; | 45 std::queue<const ProofVerifyDetails*> proof_verify_details_queue_; |
| 45 | 46 |
| 46 DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStreamFactory); | 47 DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStreamFactory); |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 } // namespace net | 50 } // namespace net |
| 50 | 51 |
| 51 #endif // NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_FACTORY_H_ | 52 #endif // NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_FACTORY_H_ |
| OLD | NEW |