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

Side by Side Diff: net/quic/quic_config.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
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 #ifndef NET_QUIC_QUIC_CONFIG_H_ 5 #ifndef NET_QUIC_QUIC_CONFIG_H_
6 #define NET_QUIC_QUIC_CONFIG_H_ 6 #define NET_QUIC_QUIC_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 protected: 56 protected:
57 const QuicTag tag_; 57 const QuicTag tag_;
58 const QuicConfigPresence presence_; 58 const QuicConfigPresence presence_;
59 }; 59 };
60 60
61 class NET_EXPORT_PRIVATE QuicNegotiableValue : public QuicConfigValue { 61 class NET_EXPORT_PRIVATE QuicNegotiableValue : public QuicConfigValue {
62 public: 62 public:
63 QuicNegotiableValue(QuicTag tag, QuicConfigPresence presence); 63 QuicNegotiableValue(QuicTag tag, QuicConfigPresence presence);
64 virtual ~QuicNegotiableValue(); 64 virtual ~QuicNegotiableValue();
65 65
66 bool negotiated() const { 66 bool negotiated() const { return negotiated_; }
67 return negotiated_;
68 }
69 67
70 protected: 68 protected:
71 bool negotiated_; 69 bool negotiated_;
72 }; 70 };
73 71
74 class NET_EXPORT_PRIVATE QuicNegotiableUint32 : public QuicNegotiableValue { 72 class NET_EXPORT_PRIVATE QuicNegotiableUint32 : public QuicNegotiableValue {
75 public: 73 public:
76 // Default and max values default to 0. 74 // Default and max values default to 0.
77 QuicNegotiableUint32(QuicTag name, QuicConfigPresence presence); 75 QuicNegotiableUint32(QuicTag name, QuicConfigPresence presence);
78 virtual ~QuicNegotiableUint32(); 76 virtual ~QuicNegotiableUint32();
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 QuicFixedUint32 initial_congestion_window_; 308 QuicFixedUint32 initial_congestion_window_;
311 // Initial round trip time estimate in microseconds. 309 // Initial round trip time estimate in microseconds.
312 QuicFixedUint32 initial_round_trip_time_us_; 310 QuicFixedUint32 initial_round_trip_time_us_;
313 // Initial flow control receive window in bytes. 311 // Initial flow control receive window in bytes.
314 QuicFixedUint32 initial_flow_control_window_bytes_; 312 QuicFixedUint32 initial_flow_control_window_bytes_;
315 }; 313 };
316 314
317 } // namespace net 315 } // namespace net
318 316
319 #endif // NET_QUIC_QUIC_CONFIG_H_ 317 #endif // NET_QUIC_QUIC_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698