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

Side by Side Diff: net/quic/crypto/source_address_token.cc

Issue 693773003: Cleanup various includes and namespace references. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/crypto/source_address_token.h" 5 #include "net/quic/crypto/source_address_token.h"
6 6
7 #include <vector>
8
9 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_split.h" 8 #include "base/strings/string_split.h"
11 9
12 using std::string; 10 using std::string;
13 using std::vector;
14 11
15 namespace net { 12 namespace net {
16 13
17 CachedNetworkParameters::CachedNetworkParameters() 14 CachedNetworkParameters::CachedNetworkParameters()
18 : bandwidth_estimate_bytes_per_second_(0), 15 : bandwidth_estimate_bytes_per_second_(0),
19 max_bandwidth_estimate_bytes_per_second_(0), 16 max_bandwidth_estimate_bytes_per_second_(0),
20 max_bandwidth_timestamp_seconds_(0), 17 max_bandwidth_timestamp_seconds_(0),
21 min_rtt_ms_(0), 18 min_rtt_ms_(0),
22 previous_connection_state_(0), 19 previous_connection_state_(0),
23 timestamp_(0) { 20 timestamp_(0) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 83
87 ip_.assign(&plaintext[1], ip_len); 84 ip_.assign(&plaintext[1], ip_len);
88 timestamp_ = timestamp; 85 timestamp_ = timestamp;
89 86
90 // TODO(rtenneti): Implement parsing of optional CachedNetworkParameters when 87 // TODO(rtenneti): Implement parsing of optional CachedNetworkParameters when
91 // they are used. 88 // they are used.
92 return true; 89 return true;
93 } 90 }
94 91
95 } // namespace net 92 } // namespace net
OLDNEW
« no previous file with comments | « content/browser/android/java/gin_java_bound_object.cc ('k') | net/quic/quic_sent_entropy_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698