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

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

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
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream_factory.h ('k') | net/quic/test_tools/mock_quic_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/mock_crypto_client_stream_factory.cc
diff --git a/net/quic/test_tools/mock_crypto_client_stream_factory.cc b/net/quic/test_tools/mock_crypto_client_stream_factory.cc
deleted file mode 100644
index 5088c4347c8ef27cd4d761230c20cca6aa6681b2..0000000000000000000000000000000000000000
--- a/net/quic/test_tools/mock_crypto_client_stream_factory.cc
+++ /dev/null
@@ -1,33 +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.
-
-#include "net/quic/test_tools/mock_crypto_client_stream_factory.h"
-
-#include "base/lazy_instance.h"
-#include "net/quic/quic_client_session.h"
-#include "net/quic/quic_crypto_client_stream.h"
-#include "net/quic/quic_server_id.h"
-
-using std::string;
-
-namespace net {
-
-MockCryptoClientStreamFactory::MockCryptoClientStreamFactory()
- : handshake_mode_(MockCryptoClientStream::CONFIRM_HANDSHAKE),
- last_stream_(nullptr),
- proof_verify_details_(nullptr) {
-}
-
-QuicCryptoClientStream*
-MockCryptoClientStreamFactory::CreateQuicCryptoClientStream(
- const QuicServerId& server_id,
- QuicClientSession* session,
- QuicCryptoClientConfig* crypto_config) {
- last_stream_ = new MockCryptoClientStream(
- server_id, session, nullptr, crypto_config, handshake_mode_,
- proof_verify_details_);
- return last_stream_;
-}
-
-} // namespace net
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream_factory.h ('k') | net/quic/test_tools/mock_quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698