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

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

Issue 608453007: No functional change. Rename QuicConfig methods from lowercase with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_test_to_TcpCubicSender_76165601
Patch Set: Created 6 years, 2 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 | « no previous file | net/quic/quic_config.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) 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 bool has_receive_values_; 251 bool has_receive_values_;
252 }; 252 };
253 253
254 // QuicConfig contains non-crypto configuration options that are negotiated in 254 // QuicConfig contains non-crypto configuration options that are negotiated in
255 // the crypto handshake. 255 // the crypto handshake.
256 class NET_EXPORT_PRIVATE QuicConfig { 256 class NET_EXPORT_PRIVATE QuicConfig {
257 public: 257 public:
258 QuicConfig(); 258 QuicConfig();
259 ~QuicConfig(); 259 ~QuicConfig();
260 260
261 void set_congestion_feedback(const QuicTagVector& congestion_feedback, 261 void SetCongestionFeedback(const QuicTagVector& congestion_feedback,
262 QuicTag default_congestion_feedback); 262 QuicTag default_congestion_feedback);
263 263
264 QuicTag congestion_feedback() const; 264 QuicTag CongestionFeedback() const;
265 265
266 void SetConnectionOptionsToSend(const QuicTagVector& connection_options); 266 void SetConnectionOptionsToSend(const QuicTagVector& connection_options);
267 267
268 bool HasReceivedConnectionOptions() const; 268 bool HasReceivedConnectionOptions() const;
269 269
270 QuicTagVector ReceivedConnectionOptions() const; 270 QuicTagVector ReceivedConnectionOptions() const;
271 271
272 bool HasSendConnectionOptions() const; 272 bool HasSendConnectionOptions() const;
273 273
274 QuicTagVector SendConnectionOptions() const; 274 QuicTagVector SendConnectionOptions() const;
275 275
276 void set_idle_connection_state_lifetime( 276 void SetIdleConnectionStateLifetime(
277 QuicTime::Delta max_idle_connection_state_lifetime, 277 QuicTime::Delta max_idle_connection_state_lifetime,
278 QuicTime::Delta default_idle_conection_state_lifetime); 278 QuicTime::Delta default_idle_conection_state_lifetime);
279 279
280 QuicTime::Delta idle_connection_state_lifetime() const; 280 QuicTime::Delta IdleConnectionStateLifetime() const;
281 281
282 QuicTime::Delta keepalive_timeout() const; 282 QuicTime::Delta KeepaliveTimeout() const;
283 283
284 void set_max_streams_per_connection(size_t max_streams, 284 void SetMaxStreamsPerConnection(size_t max_streams, size_t default_streams);
285 size_t default_streams);
286 285
287 uint32 max_streams_per_connection() const; 286 uint32 MaxStreamsPerConnection() const;
288 287
289 void set_max_time_before_crypto_handshake( 288 void set_max_time_before_crypto_handshake(
290 QuicTime::Delta max_time_before_crypto_handshake); 289 QuicTime::Delta max_time_before_crypto_handshake);
291 290
292 QuicTime::Delta max_time_before_crypto_handshake() const; 291 QuicTime::Delta max_time_before_crypto_handshake() const;
293 292
294 // Sets the peer's default initial congestion window in packets. 293 // Sets the peer's default initial congestion window in packets.
295 void SetInitialCongestionWindowToSend(size_t initial_window); 294 void SetInitialCongestionWindowToSend(size_t initial_window);
296 295
297 bool HasReceivedInitialCongestionWindow() const; 296 bool HasReceivedInitialCongestionWindow() const;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 // Initial session flow control receive window in bytes. 391 // Initial session flow control receive window in bytes.
393 QuicFixedUint32 initial_session_flow_control_window_bytes_; 392 QuicFixedUint32 initial_session_flow_control_window_bytes_;
394 393
395 // Socket receive buffer in bytes. 394 // Socket receive buffer in bytes.
396 QuicFixedUint32 socket_receive_buffer_; 395 QuicFixedUint32 socket_receive_buffer_;
397 }; 396 };
398 397
399 } // namespace net 398 } // namespace net
400 399
401 #endif // NET_QUIC_QUIC_CONFIG_H_ 400 #endif // NET_QUIC_QUIC_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698