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

Unified Diff: net/quic/quic_client_session_base.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/quic_client_session_base.h ('k') | net/quic/quic_client_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_client_session_base.cc
diff --git a/net/quic/quic_client_session_base.cc b/net/quic/quic_client_session_base.cc
deleted file mode 100644
index 40d4b86dc2cb46e439152a60a0958a0806b41038..0000000000000000000000000000000000000000
--- a/net/quic/quic_client_session_base.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2014 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_client_session_base.h"
-
-#include "net/quic/quic_flags.h"
-
-namespace net {
-
-QuicClientSessionBase::QuicClientSessionBase(
- QuicConnection* connection,
- const QuicConfig& config)
- : QuicSession(connection, config) {}
-
-QuicClientSessionBase::~QuicClientSessionBase() {}
-
-void QuicClientSessionBase::OnCryptoHandshakeEvent(CryptoHandshakeEvent event) {
- QuicSession::OnCryptoHandshakeEvent(event);
- // Set FEC policy for streams immediately after sending CHLO and before any
- // more data is sent.
- if (!FLAGS_enable_quic_fec ||
- event != ENCRYPTION_FIRST_ESTABLISHED ||
- !config()->HasSendConnectionOptions() ||
- !ContainsQuicTag(config()->SendConnectionOptions(), kFHDR)) {
- return;
- }
- // kFHDR config maps to FEC protection always for headers stream.
- // TODO(jri): Add crypto stream in addition to headers for kHDR.
- headers_stream_->set_fec_policy(FEC_PROTECT_ALWAYS);
-}
-
-} // namespace net
« no previous file with comments | « net/quic/quic_client_session_base.h ('k') | net/quic/quic_client_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698