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

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

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format 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_crypto_server_stream_test.cc ('k') | net/quic/core/quic_data_reader.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_crypto_stream.h" 5 #include "net/quic/core/quic_crypto_stream.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "net/quic/core/crypto/crypto_handshake.h" 9 #include "net/quic/core/crypto/crypto_handshake.h"
10 #include "net/quic/core/crypto/crypto_utils.h" 10 #include "net/quic/core/crypto/crypto_utils.h"
11 #include "net/quic/core/quic_connection.h" 11 #include "net/quic/core/quic_connection.h"
12 #include "net/quic/core/quic_flags.h"
13 #include "net/quic/core/quic_session.h" 12 #include "net/quic/core/quic_session.h"
14 #include "net/quic/core/quic_utils.h" 13 #include "net/quic/core/quic_utils.h"
15 #include "net/quic/platform/api/quic_flag_utils.h" 14 #include "net/quic/platform/api/quic_flag_utils.h"
15 #include "net/quic/platform/api/quic_flags.h"
16 #include "net/quic/platform/api/quic_logging.h" 16 #include "net/quic/platform/api/quic_logging.h"
17 17
18 using std::string; 18 using std::string;
19 19
20 namespace net { 20 namespace net {
21 21
22 #define ENDPOINT \ 22 #define ENDPOINT \
23 (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \ 23 (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \
24 " ") 24 " ")
25 25
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 "EXPORTER-Token-Binding", 118 "EXPORTER-Token-Binding",
119 /* context= */ "", 32, result); 119 /* context= */ "", 32, result);
120 } 120 }
121 121
122 const QuicCryptoNegotiatedParameters& 122 const QuicCryptoNegotiatedParameters&
123 QuicCryptoStream::crypto_negotiated_params() const { 123 QuicCryptoStream::crypto_negotiated_params() const {
124 return *crypto_negotiated_params_; 124 return *crypto_negotiated_params_;
125 } 125 }
126 126
127 } // namespace net 127 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_server_stream_test.cc ('k') | net/quic/core/quic_data_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698