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

Issue 2103223002: Adding version info to the client config request (Closed)

Created:
4 years, 5 months ago by RyanSturm
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, cbentzel+watch_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding version info to the client config request This information will easily allow the server to use different experiments in different channels and different versions. BUG=622374 Committed: https://crrev.com/19f51e45ebccead8ad7df4b0bbaa66f783b506c8 Cr-Commit-Position: refs/heads/master@{#403207}

Patch Set 1 #

Patch Set 2 : Adding deps to build.gn files #

Patch Set 3 : moving channel from constructore to setter. #

Patch Set 4 : removing leftover headers #

Total comments: 20

Patch Set 5 : lots of changes #

Total comments: 4

Patch Set 6 : Adding function comment #

Total comments: 2

Patch Set 7 : Adding comment about allowed strings for client platform. #

Total comments: 4

Patch Set 8 : changing proto comments, rebase util, cronet #

Patch Set 9 : rebase, AW removed DRP code #

Total comments: 6

Patch Set 10 : rebase on underlying CL #

Patch Set 11 : nits #

Total comments: 2

Messages

Total messages: 27 (5 generated)
RyanSturm
tbansal: PTAL, let me know if you think I should test this code path (it ...
4 years, 5 months ago (2016-06-28 20:15:06 UTC) #2
buettner
https://codereview.chromium.org/2103223002/diff/60001/components/data_reduction_proxy/proto/client_config.proto File components/data_reduction_proxy/proto/client_config.proto (right): https://codereview.chromium.org/2103223002/diff/60001/components/data_reduction_proxy/proto/client_config.proto#newcode137 components/data_reduction_proxy/proto/client_config.proto:137: optional string version_number = 2; I think channel/build/patch is ...
4 years, 5 months ago (2016-06-28 20:52:01 UTC) #3
tbansal1
https://codereview.chromium.org/2103223002/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc (right): https://codereview.chromium.org/2103223002/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc#newcode21 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc:21: #include "components/version_info/version_info.h" why is this include needed? https://codereview.chromium.org/2103223002/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc#newcode84 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc:84: ...
4 years, 5 months ago (2016-06-28 21:32:15 UTC) #4
RyanSturm
https://codereview.chromium.org/2103223002/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc (right): https://codereview.chromium.org/2103223002/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc#newcode21 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc:21: #include "components/version_info/version_info.h" On 2016/06/28 21:32:15, tbansal1 wrote: > why ...
4 years, 5 months ago (2016-06-28 22:22:14 UTC) #5
buettner
https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/proto/client_config.proto File components/data_reduction_proxy/proto/client_config.proto (right): https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/proto/client_config.proto#newcode119 components/data_reduction_proxy/proto/client_config.proto:119: // The client's platform type. // The client type. ...
4 years, 5 months ago (2016-06-28 22:39:38 UTC) #6
RyanSturm
https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h File components/data_reduction_proxy/core/common/data_reduction_proxy_util.h (right): https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h#newcode55 components/data_reduction_proxy/core/common/data_reduction_proxy_util.h:55: void GetChromiumBuildAndPatchAsInts(const std::string& version_string, Add comment
4 years, 5 months ago (2016-06-28 22:40:25 UTC) #7
RyanSturm
On 2016/06/28 22:40:25, RyanSturm wrote: > https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h > File components/data_reduction_proxy/core/common/data_reduction_proxy_util.h > (right): > > https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/core/common/data_reduction_proxy_util.h#newcode55 ...
4 years, 5 months ago (2016-06-28 22:53:35 UTC) #8
RyanSturm
On 2016/06/28 22:39:38, buettner wrote: > https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/proto/client_config.proto > File components/data_reduction_proxy/proto/client_config.proto (right): > > https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/proto/client_config.proto#newcode119 > ...
4 years, 5 months ago (2016-06-28 22:56:43 UTC) #9
tbansal1
https://codereview.chromium.org/2103223002/diff/80001/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/2103223002/diff/80001/android_webview/browser/aw_browser_context.cc#newcode216 android_webview/browser/aw_browser_context.cc:216: false /* enable */, GetUserAgent(), std::string())); Fix cronet too ...
4 years, 5 months ago (2016-06-29 17:58:26 UTC) #10
buettner
https://codereview.chromium.org/2103223002/diff/120001/components/data_reduction_proxy/proto/client_config.proto File components/data_reduction_proxy/proto/client_config.proto (right): https://codereview.chromium.org/2103223002/diff/120001/components/data_reduction_proxy/proto/client_config.proto#newcode130 components/data_reduction_proxy/proto/client_config.proto:130: // The production channel. Maybe it's clear enough to ...
4 years, 5 months ago (2016-06-29 18:04:44 UTC) #11
RyanSturm
https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/proto/client_config.proto File components/data_reduction_proxy/proto/client_config.proto (right): https://codereview.chromium.org/2103223002/diff/80001/components/data_reduction_proxy/proto/client_config.proto#newcode119 components/data_reduction_proxy/proto/client_config.proto:119: // The client's platform type. On 2016/06/28 22:39:38, buettner ...
4 years, 5 months ago (2016-06-29 19:02:36 UTC) #12
RyanSturm
xunjieli: PTAL @ cronet file
4 years, 5 months ago (2016-06-29 23:53:00 UTC) #14
tbansal1
lgtm % nits below. https://codereview.chromium.org/2103223002/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h (right): https://codereview.chromium.org/2103223002/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h#newcode216 components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h:216: Client client_; change it to ...
4 years, 5 months ago (2016-06-29 23:56:38 UTC) #15
RyanSturm
https://codereview.chromium.org/2103223002/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h (right): https://codereview.chromium.org/2103223002/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h#newcode216 components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h:216: Client client_; On 2016/06/29 23:56:38, tbansal1 wrote: > change ...
4 years, 5 months ago (2016-06-30 00:02:22 UTC) #16
xunjieli
https://codereview.chromium.org/2103223002/diff/200001/components/cronet/android/cronet_data_reduction_proxy.cc File components/cronet/android/cronet_data_reduction_proxy.cc (right): https://codereview.chromium.org/2103223002/diff/200001/components/cronet/android/cronet_data_reduction_proxy.cc#newcode95 components/cronet/android/cronet_data_reduction_proxy.cc:95: net_log, task_runner, task_runner, false, user_agent, std::string())); You can get ...
4 years, 5 months ago (2016-06-30 13:55:37 UTC) #17
RyanSturm
https://codereview.chromium.org/2103223002/diff/200001/components/cronet/android/cronet_data_reduction_proxy.cc File components/cronet/android/cronet_data_reduction_proxy.cc (right): https://codereview.chromium.org/2103223002/diff/200001/components/cronet/android/cronet_data_reduction_proxy.cc#newcode95 components/cronet/android/cronet_data_reduction_proxy.cc:95: net_log, task_runner, task_runner, false, user_agent, std::string())); On 2016/06/30 13:55:37, ...
4 years, 5 months ago (2016-06-30 15:09:12 UTC) #18
xunjieli
components/cronet/android/cronet_data_reduction_proxy.cc lgtm
4 years, 5 months ago (2016-06-30 15:12:54 UTC) #19
buettner
On 2016/06/30 15:12:54, xunjieli wrote: > components/cronet/android/cronet_data_reduction_proxy.cc lgtm components/data_reduction_proxy/proto/client_config.proto lgtm
4 years, 5 months ago (2016-06-30 17:14:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2103223002/200001
4 years, 5 months ago (2016-06-30 17:16:51 UTC) #23
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 5 months ago (2016-06-30 17:22:35 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 17:22:50 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 17:24:26 UTC) #27
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/19f51e45ebccead8ad7df4b0bbaa66f783b506c8
Cr-Commit-Position: refs/heads/master@{#403207}

Powered by Google App Engine
This is Rietveld 408576698