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

Unified Diff: net/quic/proto/cached_network_parameters.proto

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/iovector_test.cc ('k') | net/quic/proto/source_address_token.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/proto/cached_network_parameters.proto
diff --git a/net/quic/proto/cached_network_parameters.proto b/net/quic/proto/cached_network_parameters.proto
deleted file mode 100644
index 2a3f3e5a5954a29bfbcca8765cf8b8fce6ec68cd..0000000000000000000000000000000000000000
--- a/net/quic/proto/cached_network_parameters.proto
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-syntax = "proto2";
-
-option optimize_for = LITE_RUNTIME;
-
-package net;
-
-// CachedNetworkParameters contains data that can be used to choose appropriate
-// connection parameters (initial RTT, initial CWND, etc.) in new connections.
-// Next id: 8
-message CachedNetworkParameters {
- // Describes the state of the connection during which the supplied network
- // parameters were calculated.
- enum PreviousConnectionState {
- SLOW_START = 0;
- CONGESTION_AVOIDANCE = 1;
- }
-
- // serving_region is used to decide whether or not the bandwidth estimate and
- // min RTT are reasonable and if they should be used.
- // For example a group of geographically close servers may share the same
- // serving_region string if they are expected to have similar network
- // performance.
- optional string serving_region = 1;
- // The server can supply a bandwidth estimate (in bytes/s) which it may re-use
- // on receipt of a source-address token with this field set.
- optional int32 bandwidth_estimate_bytes_per_second = 2;
- // The maximum bandwidth seen to the client, not necessarily the latest.
- optional int32 max_bandwidth_estimate_bytes_per_second = 5;
- // Timestamp (seconds since UNIX epoch) that indicates when the max bandwidth
- // was seen by the server.
- optional int64 max_bandwidth_timestamp_seconds = 6;
- // The min RTT seen on a previous connection can be used by the server to
- // inform initial connection parameters for new connections.
- optional int32 min_rtt_ms = 3;
- // Encodes the PreviousConnectionState enum.
- optional int32 previous_connection_state = 4;
- // UNIX timestamp when this bandwidth estimate was created.
- optional int64 timestamp = 7;
-};
« no previous file with comments | « net/quic/iovector_test.cc ('k') | net/quic/proto/source_address_token.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698