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

Unified Diff: net/quic/test_tools/mock_crypto_client_stream_factory.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/test_tools/mock_crypto_client_stream_factory.h
diff --git a/net/quic/test_tools/mock_crypto_client_stream_factory.h b/net/quic/test_tools/mock_crypto_client_stream_factory.h
deleted file mode 100644
index b138c70ee87ee992d48b849035cc3217005b8fa7..0000000000000000000000000000000000000000
--- a/net/quic/test_tools/mock_crypto_client_stream_factory.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_FACTORY_H_
-#define NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_FACTORY_H_
-
-#include <string>
-
-#include "net/quic/quic_crypto_client_stream.h"
-#include "net/quic/quic_crypto_client_stream_factory.h"
-#include "net/quic/test_tools/mock_crypto_client_stream.h"
-
-namespace net {
-
-class QuicServerId;
-
-class MockCryptoClientStreamFactory : public QuicCryptoClientStreamFactory {
- public:
- MockCryptoClientStreamFactory();
- ~MockCryptoClientStreamFactory() override {}
-
- QuicCryptoClientStream* CreateQuicCryptoClientStream(
- const QuicServerId& server_id,
- QuicClientSession* session,
- QuicCryptoClientConfig* crypto_config) override;
-
- void set_handshake_mode(
- MockCryptoClientStream::HandshakeMode handshake_mode) {
- handshake_mode_ = handshake_mode;
- }
-
- void set_proof_verify_details(
- const ProofVerifyDetails* proof_verify_details) {
- proof_verify_details_ = proof_verify_details;
- }
-
- MockCryptoClientStream* last_stream() const {
- return last_stream_;
- }
-
- private:
- MockCryptoClientStream::HandshakeMode handshake_mode_;
- MockCryptoClientStream* last_stream_;
- const ProofVerifyDetails* proof_verify_details_;
-
- DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStreamFactory);
-};
-
-} // namespace net
-
-#endif // NET_QUIC_TEST_TOOLS_MOCK_CRYPTO_CLIENT_STREAM_FACTORY_H_
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream.cc ('k') | net/quic/test_tools/mock_crypto_client_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698