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

Side by Side Diff: components/data_reduction_proxy/proto/client_config.proto

Issue 2103223002: Adding version info to the client config request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package data_reduction_proxy; 9 package data_reduction_proxy;
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // The host name for the proxy server. 102 // The host name for the proxy server.
103 optional string host = 2; 103 optional string host = 2;
104 // The port number for the proxy server. 104 // The port number for the proxy server.
105 optional int32 port = 3; 105 optional int32 port = 3;
106 } 106 }
107 107
108 // Request object to create a client configuration object. 108 // Request object to create a client configuration object.
109 message CreateClientConfigRequest { 109 message CreateClientConfigRequest {
110 // A previous per-session key that was assigned by the service. 110 // A previous per-session key that was assigned by the service.
111 optional string session_key = 1; 111 optional string session_key = 1;
112
113 // Build version information.
114 optional VersionInfo version_info = 2;
112 } 115 }
116
117 // Build version information.
118 message VersionInfo {
119 // The client's platform type. See
120 // components/data_reduction_proxy/core/common/data_reduction_proxy_util.h for
121 // allowed strings in CLIENT_ENUMS_LIST.
122 optional string client = 1;
123
124 // The build number, e.g. 2171
125 optional int32 build = 2;
126
127 // The patch number of the chromium client: always a non-negative integer.
128 optional int32 patch = 3;
129
130 // The production channel, e.g. "canary", "dev", "beta", "stable".
131 optional string channel = 4;
132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698