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

Side by Side Diff: net/quic/core/quic_spdy_session.cc

Issue 2820423002: Move quic_flags.h from net/quic/core to net/quic/platform and split into api and impl. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_session_test.cc ('k') | net/quic/core/quic_spdy_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 #include "net/quic/core/quic_spdy_session.h" 5 #include "net/quic/core/quic_spdy_session.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cstdint> 8 #include <cstdint>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 11
12 #include "net/quic/core/quic_flags.h"
13 #include "net/quic/core/quic_headers_stream.h" 12 #include "net/quic/core/quic_headers_stream.h"
14 #include "net/quic/platform/api/quic_bug_tracker.h" 13 #include "net/quic/platform/api/quic_bug_tracker.h"
14 #include "net/quic/platform/api/quic_flags.h"
15 #include "net/quic/platform/api/quic_logging.h" 15 #include "net/quic/platform/api/quic_logging.h"
16 #include "net/quic/platform/api/quic_str_cat.h" 16 #include "net/quic/platform/api/quic_str_cat.h"
17 17
18 using std::string; 18 using std::string;
19 19
20 namespace net { 20 namespace net {
21 21
22 namespace { 22 namespace {
23 23
24 class HeaderTableDebugVisitor 24 class HeaderTableDebugVisitor
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 set_max_uncompressed_header_bytes); 767 set_max_uncompressed_header_bytes);
768 } 768 }
769 769
770 void QuicSpdySession::CloseConnectionWithDetails(QuicErrorCode error, 770 void QuicSpdySession::CloseConnectionWithDetails(QuicErrorCode error,
771 const string& details) { 771 const string& details) {
772 connection()->CloseConnection( 772 connection()->CloseConnection(
773 error, details, ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET); 773 error, details, ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
774 } 774 }
775 775
776 } // namespace net 776 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_session_test.cc ('k') | net/quic/core/quic_spdy_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698