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

Unified Diff: net/quic/quic_crypto_client_stream_factory.cc

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, 5 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/quic_crypto_client_stream_factory.h ('k') | net/quic/quic_crypto_client_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_client_stream_factory.cc
diff --git a/net/quic/quic_crypto_client_stream_factory.cc b/net/quic/quic_crypto_client_stream_factory.cc
deleted file mode 100644
index 94928d33d103eb7b506cb59467fcbae1ea79465e..0000000000000000000000000000000000000000
--- a/net/quic/quic_crypto_client_stream_factory.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2016 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/quic_crypto_client_stream_factory.h"
-
-#include "base/lazy_instance.h"
-#include "net/quic/chromium/crypto/proof_verifier_chromium.h"
-#include "net/quic/chromium/quic_chromium_client_session.h"
-#include "net/quic/quic_crypto_client_stream.h"
-
-namespace net {
-
-namespace {
-
-class DefaultCryptoStreamFactory : public QuicCryptoClientStreamFactory {
- public:
- QuicCryptoClientStream* CreateQuicCryptoClientStream(
- const QuicServerId& server_id,
- QuicChromiumClientSession* session,
- std::unique_ptr<ProofVerifyContext> proof_verify_context,
- QuicCryptoClientConfig* crypto_config) override {
- return new QuicCryptoClientStream(server_id, session,
- proof_verify_context.release(),
- crypto_config, session);
- }
-};
-
-static base::LazyInstance<DefaultCryptoStreamFactory>::Leaky
- g_default_crypto_stream_factory = LAZY_INSTANCE_INITIALIZER;
-
-} // namespace
-
-// static
-QuicCryptoClientStreamFactory*
-QuicCryptoClientStreamFactory::GetDefaultFactory() {
- return g_default_crypto_stream_factory.Pointer();
-}
-
-} // namespace net
« no previous file with comments | « net/quic/quic_crypto_client_stream_factory.h ('k') | net/quic/quic_crypto_client_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698