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

Issue 530153002: Add build and patch to Chrome-Proxy header (Closed)

Created:
6 years, 3 months ago by megjablon
Modified:
6 years, 3 months ago
Reviewers:
bengr, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Chrome-Proxy will now have three directives relevant to versioning: "b=" -- the build number "p=" -- the patch number "c=" -- the client type (current values are "ios", "android", and "webview") Currently, b and p only make sense for chrome types and are only being implemented for ios and android. BUG=409934 Committed: https://crrev.com/12a31fdc4f1d7abebb7845628dcd86a79d01e9b2 Cr-Commit-Position: refs/heads/master@{#293591}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed bengr comments #

Total comments: 1

Patch Set 3 : Fixed nit #

Patch Set 4 : Sync and rebase master #

Patch Set 5 : Build and patch number in data reduction proxy header #

Patch Set 6 : using "" instead of string #

Total comments: 5

Patch Set 7 : Full version to auth request handler #

Total comments: 10

Patch Set 8 : Addressed mmenke comments #

Patch Set 9 : Addressed bengr comments #

Patch Set 10 : Change GetChromiumVersionComponent to GetChromiumBuildAndPatch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -32 lines) Patch
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc View 1 2 3 4 5 6 2 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -1 line 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc View 1 2 3 4 5 6 7 8 9 4 chunks +18 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler_unittest.cc View 1 2 3 4 5 6 5 chunks +58 lines, -9 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
bengr
https://codereview.chromium.org/530153002/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc (right): https://codereview.chromium.org/530153002/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode68 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:68: return ""; return std::string(); https://codereview.chromium.org/530153002/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h (right): https://codereview.chromium.org/530153002/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h#newcode57 ...
6 years, 3 months ago (2014-09-02 22:57:53 UTC) #2
megjablon
https://codereview.chromium.org/530153002/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc (right): https://codereview.chromium.org/530153002/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode68 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:68: return ""; On 2014/09/02 22:57:53, bengr1 wrote: > return ...
6 years, 3 months ago (2014-09-02 23:11:28 UTC) #3
bengr
lgtm, with nit. https://codereview.chromium.org/530153002/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc (right): https://codereview.chromium.org/530153002/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc#newcode25 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc:25: "0.0"); nit: define kBogusVersion[] = "0.0"
6 years, 3 months ago (2014-09-02 23:16:14 UTC) #4
megjablon
6 years, 3 months ago (2014-09-03 17:39:33 UTC) #9
bengr
NOT lgtm https://codereview.chromium.org/530153002/diff/180001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc (right): https://codereview.chromium.org/530153002/diff/180001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode63 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:63: std::string DataReductionProxyChromeSettings::GetBuildNumberFromString( How often is this called? ...
6 years, 3 months ago (2014-09-03 22:28:39 UTC) #10
megjablon
https://codereview.chromium.org/530153002/diff/180001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc (right): https://codereview.chromium.org/530153002/diff/180001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode63 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:63: std::string DataReductionProxyChromeSettings::GetBuildNumberFromString( On 2014/09/03 22:28:38, bengr1 wrote: > How ...
6 years, 3 months ago (2014-09-04 00:41:07 UTC) #11
megjablon
Adding mmenke for iothread.cc and profile_impl_io_data.cc
6 years, 3 months ago (2014-09-04 19:06:38 UTC) #13
mmenke
profile_impl_io_data, io_thread LGTM https://codereview.chromium.org/530153002/diff/200001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/530153002/diff/200001/chrome/browser/io_thread.cc#newcode664 chrome/browser/io_thread.cc:664: version_info.Version(), nit: You can just use ...
6 years, 3 months ago (2014-09-04 19:12:10 UTC) #14
megjablon
https://codereview.chromium.org/530153002/diff/200001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/530153002/diff/200001/chrome/browser/io_thread.cc#newcode664 chrome/browser/io_thread.cc:664: version_info.Version(), On 2014/09/04 19:12:10, mmenke wrote: > nit: You ...
6 years, 3 months ago (2014-09-04 19:16:36 UTC) #15
bengr
https://codereview.chromium.org/530153002/diff/200001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc File components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc (right): https://codereview.chromium.org/530153002/diff/200001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc#newcode29 components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc:29: const char kAndroidWebViewProtocolVersion[] = ""; Add: // TODO(bengr): Remove ...
6 years, 3 months ago (2014-09-04 19:22:52 UTC) #16
megjablon
https://codereview.chromium.org/530153002/diff/200001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc File components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc (right): https://codereview.chromium.org/530153002/diff/200001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc#newcode53 components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc:53: patch_number_ = GetChromiumVersionComponent(version, 3); On 2014/09/04 19:22:52, bengr1 wrote: ...
6 years, 3 months ago (2014-09-04 20:30:35 UTC) #17
bengr
Lgtm with two nits. Change GetChromiumVersionComponent to GetChromiumBuildAndPatch and update the CL title to say ...
6 years, 3 months ago (2014-09-05 03:31:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/530153002/280001
6 years, 3 months ago (2014-09-05 20:47:04 UTC) #21
commit-bot: I haz the power
Committed patchset #10 (id:280001) as 799837530e6e9e9e0b2e7e2a4d40de1d683b5229
6 years, 3 months ago (2014-09-05 23:08:24 UTC) #22
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:41:51 UTC) #23
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/12a31fdc4f1d7abebb7845628dcd86a79d01e9b2
Cr-Commit-Position: refs/heads/master@{#293591}

Powered by Google App Engine
This is Rietveld 408576698