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

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

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix missing part device_cloud_policy_manager_chromeos_unittest.cc Created 6 years 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_client_stream_test.cc ('k') | net/quic/quic_crypto_server_stream_test.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/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"
11 #include "net/quic/crypto/crypto_utils.h" 11 #include "net/quic/crypto/crypto_utils.h"
12 #include "net/quic/crypto/quic_crypto_server_config.h" 12 #include "net/quic/crypto/quic_crypto_server_config.h"
13 #include "net/quic/quic_config.h" 13 #include "net/quic/quic_config.h"
14 #include "net/quic/quic_flags.h" 14 #include "net/quic/quic_flags.h"
15 #include "net/quic/quic_protocol.h" 15 #include "net/quic/quic_protocol.h"
16 #include "net/quic/quic_session.h" 16 #include "net/quic/quic_session.h"
17 17
18 using std::string;
19
18 namespace net { 20 namespace net {
19 21
20 void ServerHelloNotifier::OnAckNotification( 22 void ServerHelloNotifier::OnAckNotification(
21 int num_original_packets, 23 int num_original_packets,
22 int num_original_bytes, 24 int num_original_bytes,
23 int num_retransmitted_packets, 25 int num_retransmitted_packets,
24 int num_retransmitted_bytes, 26 int num_retransmitted_bytes,
25 QuicTime::Delta delta_largest_observed) { 27 QuicTime::Delta delta_largest_observed) {
26 server_stream_->OnServerHelloAcked(); 28 server_stream_->OnServerHelloAcked();
27 } 29 }
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 260
259 void QuicCryptoServerStream::ValidateCallback::RunImpl( 261 void QuicCryptoServerStream::ValidateCallback::RunImpl(
260 const CryptoHandshakeMessage& client_hello, 262 const CryptoHandshakeMessage& client_hello,
261 const Result& result) { 263 const Result& result) {
262 if (parent_ != nullptr) { 264 if (parent_ != nullptr) {
263 parent_->FinishProcessingHandshakeMessage(client_hello, result); 265 parent_->FinishProcessingHandshakeMessage(client_hello, result);
264 } 266 }
265 } 267 }
266 268
267 } // namespace net 269 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_client_stream_test.cc ('k') | net/quic/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698