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

Issue 430643002: Correcting the version field in the Chrome-Proxy header to be the chromium build and patch number. (Closed)

Created:
6 years, 4 months ago by megjablon
Modified:
6 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

The data reduction proxy client should be specific about it's capabilities by specifying the version of the proxy client that is being used. A version field is now added to the Chrome-Proxy header in requests, but that version is set to zero. This corrects the version field in the Chrome-Proxy header to be the chromium build and patch number. BUG=367268 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287970

Patch Set 1 #

Patch Set 2 : Fixing comment format #

Total comments: 6

Patch Set 3 : Addressing bengr comments #

Total comments: 6

Patch Set 4 : Addressing bengr comments #

Total comments: 2

Patch Set 5 : Addressing bengr comments #

Total comments: 12

Patch Set 6 : Addressing Lei comments #

Total comments: 2

Patch Set 7 : Addressing Lei comments #

Total comments: 2

Patch Set 8 : Rebase master #

Patch Set 9 : Trybot test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -44 lines) Patch
M android_webview/browser/aw_browser_context.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents_statics.cc View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc View 1 2 3 4 5 6 7 2 chunks +24 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h View 1 2 3 4 5 6 3 chunks +13 lines, -11 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc View 1 2 3 4 5 3 chunks +10 lines, -13 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 7 8 3 chunks +28 lines, -16 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
megjablon
thestig: io_thread.cc bengr: components/*
6 years, 4 months ago (2014-07-29 23:56:51 UTC) #1
bengr
https://codereview.chromium.org/430643002/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/430643002/diff/20001/chrome/browser/io_thread.cc#newcode657 chrome/browser/io_thread.cc:657: proxy_params, version_info.Version())); I would pass just the build and ...
6 years, 4 months ago (2014-07-30 00:16:47 UTC) #2
megjablon
https://codereview.chromium.org/430643002/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/430643002/diff/20001/chrome/browser/io_thread.cc#newcode657 chrome/browser/io_thread.cc:657: proxy_params, version_info.Version())); On 2014/07/30 00:16:47, bengr1 wrote: > I ...
6 years, 4 months ago (2014-07-30 20:37:17 UTC) #3
bengr
https://codereview.chromium.org/430643002/diff/40001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/430643002/diff/40001/chrome/browser/io_thread.cc#newcode655 chrome/browser/io_thread.cc:655: chrome::VersionInfo version_info; This is an implementation detail, so put ...
6 years, 4 months ago (2014-07-31 18:22:40 UTC) #4
megjablon
https://codereview.chromium.org/430643002/diff/40001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/430643002/diff/40001/chrome/browser/io_thread.cc#newcode655 chrome/browser/io_thread.cc:655: chrome::VersionInfo version_info; On 2014/07/31 18:22:40, bengr1 wrote: > This ...
6 years, 4 months ago (2014-07-31 20:48:36 UTC) #5
bengr
lgtm, with nit. https://codereview.chromium.org/430643002/diff/80001/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/430643002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc#newcode24 components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc:24: // android webview. Android
6 years, 4 months ago (2014-08-01 16:05:19 UTC) #6
bengr
On 2014/08/01 16:05:19, bengr1 wrote: > lgtm, with nit. > > https://codereview.chromium.org/430643002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc > File > ...
6 years, 4 months ago (2014-08-01 16:06:13 UTC) #7
megjablon
sgurun: android_webview/* https://codereview.chromium.org/430643002/diff/80001/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/430643002/diff/80001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc#newcode24 components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc:24: // android webview. On 2014/08/01 16:05:18, bengr1 ...
6 years, 4 months ago (2014-08-01 17:30:37 UTC) #8
Lei Zhang
https://codereview.chromium.org/430643002/diff/100001/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/430643002/diff/100001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode51 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:51: } nit: you don't need the braces. https://codereview.chromium.org/430643002/diff/100001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode52 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:52: ...
6 years, 4 months ago (2014-08-01 19:11:57 UTC) #9
megjablon
https://codereview.chromium.org/430643002/diff/100001/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/430643002/diff/100001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode51 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:51: } On 2014/08/01 19:11:57, Lei Zhang wrote: > nit: ...
6 years, 4 months ago (2014-08-01 20:35:26 UTC) #10
Lei Zhang
chrome/ lgtm https://codereview.chromium.org/430643002/diff/100001/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/430643002/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc#newcode25 components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc:25: const char kProtocolVersion[] = "0"; On 2014/08/01 ...
6 years, 4 months ago (2014-08-01 20:43:16 UTC) #11
megjablon
https://codereview.chromium.org/430643002/diff/100001/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/430643002/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc#newcode25 components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc:25: const char kProtocolVersion[] = "0"; On 2014/08/01 20:43:15, Lei ...
6 years, 4 months ago (2014-08-01 21:00:30 UTC) #12
sgurun-gerrit only
https://codereview.chromium.org/430643002/diff/160001/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/430643002/diff/160001/android_webview/browser/aw_browser_context.cc#newcode108 android_webview/browser/aw_browser_context.cc:108: data_reduction_proxy::kAndroidWebViewProtocolVersion, why do you want to have a different ...
6 years, 4 months ago (2014-08-04 21:46:55 UTC) #13
sgurun-gerrit only
https://codereview.chromium.org/430643002/diff/160001/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/430643002/diff/160001/android_webview/browser/aw_browser_context.cc#newcode108 android_webview/browser/aw_browser_context.cc:108: data_reduction_proxy::kAndroidWebViewProtocolVersion, On 2014/08/04 21:46:54, sgurun wrote: > why do ...
6 years, 4 months ago (2014-08-04 22:58:03 UTC) #14
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-08-04 23:49:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/430643002/160001
6 years, 4 months ago (2014-08-04 23:50:41 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-05 00:29:44 UTC) #17
megjablon
The CQ bit was unchecked by megjablon@chromium.org
6 years, 4 months ago (2014-08-05 00:30:51 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 00:31:57 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/37294) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/2562) ios_rel_device ...
6 years, 4 months ago (2014-08-05 00:31:58 UTC) #20
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-08-05 00:59:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/430643002/160001
6 years, 4 months ago (2014-08-05 01:00:38 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-05 01:43:38 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 01:45:33 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/37328) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/2587) ios_rel_device ...
6 years, 4 months ago (2014-08-05 01:45:34 UTC) #25
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-08-05 21:39:39 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/430643002/160001
6 years, 4 months ago (2014-08-05 21:42:11 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-05 22:48:38 UTC) #28
megjablon
The CQ bit was unchecked by megjablon@chromium.org
6 years, 4 months ago (2014-08-05 22:50:12 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 22:51:38 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/37735) android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/2973) android_clang_dbg ...
6 years, 4 months ago (2014-08-05 22:51:38 UTC) #31
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-08-06 17:52:32 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/430643002/160001
6 years, 4 months ago (2014-08-06 17:53:47 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-06 18:13:14 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 18:14:46 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/38098)
6 years, 4 months ago (2014-08-06 18:14:47 UTC) #36
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-08-07 01:15:48 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/430643002/200001
6 years, 4 months ago (2014-08-07 01:18:31 UTC) #38
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 06:57:13 UTC) #39
Message was sent while issue was closed.
Change committed as 287970

Powered by Google App Engine
This is Rietveld 408576698