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

Side by Side Diff: net/quic/quic_crypto_server_stream.cc

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/quic_crypto_server_stream.h ('k') | net/quic/quic_flags.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) 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/quic_crypto_server_stream.h" 5 #include "net/quic/quic_crypto_server_stream.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "crypto/secure_hash.h" 8 #include "crypto/secure_hash.h"
9 #include "net/quic/crypto/cached_network_parameters.h" 9 #include "net/quic/crypto/cached_network_parameters.h"
10 #include "net/quic/crypto/crypto_protocol.h" 10 #include "net/quic/crypto/crypto_protocol.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 session()->connection()->version(), 238 session()->connection()->version(),
239 session()->connection()->supported_versions(), 239 session()->connection()->supported_versions(),
240 session()->connection()->clock(), 240 session()->connection()->clock(),
241 session()->connection()->random_generator(), 241 session()->connection()->random_generator(),
242 &crypto_negotiated_params_, reply, error_details); 242 &crypto_negotiated_params_, reply, error_details);
243 } 243 }
244 244
245 void QuicCryptoServerStream::OverrideQuicConfigDefaults(QuicConfig* config) { 245 void QuicCryptoServerStream::OverrideQuicConfigDefaults(QuicConfig* config) {
246 } 246 }
247 247
248 CachedNetworkParameters* 248 const CachedNetworkParameters*
249 QuicCryptoServerStream::get_previous_cached_network_params() { 249 QuicCryptoServerStream::previous_cached_network_params() const {
250 return previous_cached_network_params_.get(); 250 return previous_cached_network_params_.get();
251 } 251 }
252 252
253 QuicCryptoServerStream::ValidateCallback::ValidateCallback( 253 QuicCryptoServerStream::ValidateCallback::ValidateCallback(
254 QuicCryptoServerStream* parent) : parent_(parent) { 254 QuicCryptoServerStream* parent) : parent_(parent) {
255 } 255 }
256 256
257 void QuicCryptoServerStream::ValidateCallback::Cancel() { parent_ = nullptr; } 257 void QuicCryptoServerStream::ValidateCallback::Cancel() { parent_ = nullptr; }
258 258
259 void QuicCryptoServerStream::ValidateCallback::RunImpl( 259 void QuicCryptoServerStream::ValidateCallback::RunImpl(
260 const CryptoHandshakeMessage& client_hello, 260 const CryptoHandshakeMessage& client_hello,
261 const Result& result) { 261 const Result& result) {
262 if (parent_ != nullptr) { 262 if (parent_ != nullptr) {
263 parent_->FinishProcessingHandshakeMessage(client_hello, result); 263 parent_->FinishProcessingHandshakeMessage(client_hello, result);
264 } 264 }
265 } 265 }
266 266
267 } // namespace net 267 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_server_stream.h ('k') | net/quic/quic_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698