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

Unified Diff: components/data_reduction_proxy/proto/client_config.proto

Issue 2575323002: Store data reduction proxy server in a separate class (Closed)
Patch Set: ryansturm comments Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_reduction_proxy/proto/client_config.proto
diff --git a/components/data_reduction_proxy/proto/client_config.proto b/components/data_reduction_proxy/proto/client_config.proto
index 44fd32b45d897dd372bc2699e16c0e8630a3bbf8..273875f1aec1a1474764816c0726cbaeef0260a3 100644
--- a/components/data_reduction_proxy/proto/client_config.proto
+++ b/components/data_reduction_proxy/proto/client_config.proto
@@ -16,7 +16,7 @@ message ClientConfig {
// The time at which the client should request a new configuration. The
// session_key is guaranteed to be valid through this time and may be valid
// for some time thereafter.
- optional Timestamp refresh_time = 2;
+ optional Timestamp DEPRECATED_refresh_time = 2 [deprecated = true];
// The proxy configuration the client should use to connect to the Data Saver
// service.
optional ProxyConfig proxy_config = 3;
@@ -94,7 +94,15 @@ message ProxyServer {
// HTTPS
HTTPS = 2;
// HTTPS over QUIC
- QUIC = 3;
+ DEPRECATED_QUIC = 3 [deprecated = true];
+ }
+
+ // The deployment type of the proxy server.
+ enum ProxyType {
+ // The proxy type is unspecified.
+ UNSPECIFIED_TYPE = 0;
+ // Core Google datacenter.
+ CORE = 1;
}
// The scheme for the proxy server.
@@ -103,6 +111,8 @@ message ProxyServer {
optional string host = 2;
// The port number for the proxy server.
optional int32 port = 3;
+ // The type for the proxy server.
+ optional ProxyType type = 4;
}
// Request object to create a client configuration object.
« no previous file with comments | « components/data_reduction_proxy/core/common/data_reduction_proxy_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698