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

Issue 333113002: Move data reduction proxy to Chrome-Proxy header for authentication (Closed)

Created:
6 years, 6 months ago by bengr
Modified:
6 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@flywheel-refactor-net-fake-a-redirect-response-headers-chrome-proxy-auth
Project:
chromium
Visibility:
Public.

Description

Move data reduction proxy to Chrome-Proxy header for authentication BUG=345907, 367268 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279957

Patch Set 1 : #

Total comments: 20

Patch Set 2 : Added auth support to Android Webview #

Total comments: 26

Patch Set 3 : Callback returns void #

Total comments: 8

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 4

Patch Set 6 : rebase #

Patch Set 7 : rebase again #

Patch Set 8 : errata #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1238 lines, -1449 lines) Patch
M android_webview/browser/aw_browser_context.h View 4 chunks +7 lines, -0 lines 0 comments Download
M android_webview/browser/aw_browser_context.cc View 4 chunks +10 lines, -0 lines 0 comments Download
M android_webview/browser/aw_login_delegate.h View 3 chunks +0 lines, -4 lines 0 comments Download
M android_webview/browser/aw_login_delegate.cc View 3 chunks +0 lines, -34 lines 0 comments Download
M android_webview/browser/net/aw_network_delegate.h View 1 2 3 4 chunks +21 lines, -1 line 0 comments Download
M android_webview/browser/net/aw_network_delegate.cc View 1 2 3 2 chunks +17 lines, -1 line 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 4 chunks +2 lines, -18 lines 0 comments Download
M android_webview/native/aw_contents_statics.cc View 1 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java View 1 2 3 4 5 2 chunks +0 lines, -28 lines 0 comments Download
M chrome/browser/devtools/devtools_network_transaction.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_network_transaction.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 5 chunks +7 lines, -14 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.h View 1 2 3 4 5 5 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 2 3 4 5 4 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc View 1 2 3 4 5 1 chunk +0 lines, -28 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc View 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 5 3 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M components/data_reduction_proxy.gypi View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h View 1 2 3 1 chunk +58 lines, -42 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc View 1 2 3 4 5 6 7 1 chunk +115 lines, -86 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler_unittest.cc View 1 2 3 1 chunk +102 lines, -128 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_params.h View 1 2 3 4 5 6 chunks +16 lines, -27 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_params.cc View 1 2 3 4 5 4 chunks +6 lines, -24 lines 0 comments Download
A components/data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.h View 1 chunk +72 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/browser/data_reduction_proxy_params_test_utils.cc View 1 chunk +134 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_params_unittest.cc View 9 chunks +367 lines, -194 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_protocol.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_protocol_unittest.cc View 6 chunks +16 lines, -45 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings.h View 1 2 3 4 5 3 chunks +0 lines, -23 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc View 1 2 3 4 5 4 chunks +8 lines, -113 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h View 3 chunks +9 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc View 4 chunks +7 lines, -21 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_unittest.cc View 5 chunks +37 lines, -126 lines 0 comments Download
D components/data_reduction_proxy/browser/http_auth_handler_data_reduction_proxy.h View 1 chunk +0 lines, -80 lines 0 comments Download
D components/data_reduction_proxy/browser/http_auth_handler_data_reduction_proxy.cc View 1 chunk +0 lines, -183 lines 0 comments Download
D components/data_reduction_proxy/browser/http_auth_handler_data_reduction_proxy_unittest.cc View 1 chunk +0 lines, -171 lines 0 comments Download
M components/data_reduction_proxy/common/data_reduction_proxy_headers.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/data_reduction_proxy/common/data_reduction_proxy_headers_unittest.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M net/base/network_delegate.h View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download
M net/base/network_delegate.cc View 1 2 3 3 chunks +16 lines, -0 lines 0 comments Download
M net/http/failing_http_transaction_factory.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M net/http/http_cache_transaction.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.h View 3 chunks +4 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 5 chunks +36 lines, -0 lines 0 comments Download
M net/http/http_transaction.h View 1 2 3 4 5 3 chunks +12 lines, -0 lines 0 comments Download
M net/http/http_transaction_test_util.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/http/http_transaction_test_util.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M net/url_request/url_request_test_util.h View 1 2 3 3 chunks +16 lines, -0 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
bengr
sgurun: android_webview/* marq: -- components/* -- chrome/browser/net/spdyproxy/* mmenke: -- net/* -- chrome/browser/net/chrome_network_delegate* -- chrome/browser/profiles/* nyquist: ...
6 years, 6 months ago (2014-06-23 23:54:20 UTC) #1
bengr
Misha, PTAL at the net changes. See below. On 2014/06/23 23:54:20, bengr1 wrote: > sgurun: ...
6 years, 6 months ago (2014-06-24 16:35:26 UTC) #2
sgurun-gerrit only
https://codereview.chromium.org/333113002/diff/240001/android_webview/native/aw_contents_statics.cc File android_webview/native/aw_contents_statics.cc (right): https://codereview.chromium.org/333113002/diff/240001/android_webview/native/aw_contents_statics.cc#newcode60 android_webview/native/aw_contents_statics.cc:60: ConvertJavaStringToUTF8(env, key), "webview", "0"); are you keeping the keys ...
6 years, 6 months ago (2014-06-24 16:43:33 UTC) #3
bengr
https://codereview.chromium.org/333113002/diff/240001/android_webview/native/aw_contents_statics.cc File android_webview/native/aw_contents_statics.cc (right): https://codereview.chromium.org/333113002/diff/240001/android_webview/native/aw_contents_statics.cc#newcode60 android_webview/native/aw_contents_statics.cc:60: ConvertJavaStringToUTF8(env, key), "webview", "0"); On 2014/06/24 16:43:33, sgurun wrote: ...
6 years, 6 months ago (2014-06-24 16:59:40 UTC) #4
bengr
https://codereview.chromium.org/333113002/diff/240001/android_webview/native/aw_contents_statics.cc File android_webview/native/aw_contents_statics.cc (right): https://codereview.chromium.org/333113002/diff/240001/android_webview/native/aw_contents_statics.cc#newcode60 android_webview/native/aw_contents_statics.cc:60: ConvertJavaStringToUTF8(env, key), "webview", "0"); I mean this name and ...
6 years, 6 months ago (2014-06-24 17:00:07 UTC) #5
sgurun-gerrit only
On 2014/06/24 17:00:07, bengr1 wrote: > https://codereview.chromium.org/333113002/diff/240001/android_webview/native/aw_contents_statics.cc > File android_webview/native/aw_contents_statics.cc (right): > > https://codereview.chromium.org/333113002/diff/240001/android_webview/native/aw_contents_statics.cc#newcode60 > ...
6 years, 6 months ago (2014-06-24 17:17:55 UTC) #6
mef
Wow, that's a big CL. Here are a few initial comments. One question - is ...
6 years, 6 months ago (2014-06-24 17:41:56 UTC) #7
nyquist
https://codereview.chromium.org/333113002/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java File chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java (left): https://codereview.chromium.org/333113002/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java#oldcode148 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java:148: public boolean isAcceptableAuthChallenge(String host, String realm) { Wouldn't this ...
6 years, 6 months ago (2014-06-24 18:11:21 UTC) #8
bengr
https://codereview.chromium.org/333113002/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java File chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java (left): https://codereview.chromium.org/333113002/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java#oldcode148 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java:148: public boolean isAcceptableAuthChallenge(String host, String realm) { On 2014/06/24 ...
6 years, 6 months ago (2014-06-24 18:24:11 UTC) #9
bengr
https://codereview.chromium.org/333113002/diff/240001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/333113002/diff/240001/chrome/browser/net/chrome_network_delegate.cc#newcode73 chrome/browser/net/chrome_network_delegate.cc:73: #if defined(OS_ANDROID) On 2014/06/24 17:41:56, mef wrote: > Why ...
6 years, 6 months ago (2014-06-24 19:01:51 UTC) #10
sgurun-gerrit only
still lgtm
6 years, 6 months ago (2014-06-24 21:26:56 UTC) #11
nyquist
chrome/android lgtm
6 years, 6 months ago (2014-06-24 23:34:50 UTC) #12
bengr
https://codereview.chromium.org/333113002/diff/240001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/333113002/diff/240001/chrome/browser/net/chrome_network_delegate.cc#newcode493 chrome/browser/net/chrome_network_delegate.cc:493: data_reduction_proxy_auth_request_handler_->MaybeAddRequestHeader( On 2014/06/24 19:01:50, bengr1 wrote: > On 2014/06/24 ...
6 years, 6 months ago (2014-06-25 16:12:36 UTC) #13
marq (ping after 24h)
Mostly style comments, some implementation questions. FWIW, I think the unit test cleanup could have ...
6 years, 6 months ago (2014-06-25 16:39:27 UTC) #14
bengr
https://codereview.chromium.org/333113002/diff/300001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/333113002/diff/300001/chrome/browser/net/chrome_network_delegate.cc#newcode486 chrome/browser/net/chrome_network_delegate.cc:486: DCHECK(proxy_info); On 2014/06/25 16:39:26, marq_ wrote: > Method body ...
6 years, 6 months ago (2014-06-25 17:15:19 UTC) #15
mef
https://codereview.chromium.org/333113002/diff/320001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/333113002/diff/320001/chrome/browser/net/chrome_network_delegate.cc#newcode487 chrome/browser/net/chrome_network_delegate.cc:487: if (data_reduction_proxy_auth_request_handler_) { BUG? Is this initialized in constructor? ...
6 years, 6 months ago (2014-06-25 17:21:34 UTC) #16
bengr
https://codereview.chromium.org/333113002/diff/320001/chrome/browser/net/chrome_network_delegate.cc File chrome/browser/net/chrome_network_delegate.cc (right): https://codereview.chromium.org/333113002/diff/320001/chrome/browser/net/chrome_network_delegate.cc#newcode487 chrome/browser/net/chrome_network_delegate.cc:487: if (data_reduction_proxy_auth_request_handler_) { On 2014/06/25 17:21:33, mef wrote: > ...
6 years, 6 months ago (2014-06-25 19:25:23 UTC) #17
Lei Zhang
c/b/io_thread.* logtm https://codereview.chromium.org/333113002/diff/360001/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/333113002/diff/360001/chrome/browser/profiles/profile_impl_io_data.cc#newcode35 chrome/browser/profiles/profile_impl_io_data.cc:35: #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names.h" Please remove the data reduction ...
6 years, 6 months ago (2014-06-25 19:31:41 UTC) #18
bengr
https://codereview.chromium.org/333113002/diff/360001/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/333113002/diff/360001/chrome/browser/profiles/profile_impl_io_data.cc#newcode35 chrome/browser/profiles/profile_impl_io_data.cc:35: #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names.h" On 2014/06/25 19:31:41, Lei Zhang wrote: > ...
6 years, 6 months ago (2014-06-25 20:07:48 UTC) #19
Lei Zhang
On 2014/06/25 19:31:41, Lei Zhang wrote: > c/b/io_thread.* logtm > > https://codereview.chromium.org/333113002/diff/360001/chrome/browser/profiles/profile_impl_io_data.cc > File chrome/browser/profiles/profile_impl_io_data.cc ...
6 years, 6 months ago (2014-06-25 20:09:07 UTC) #20
mef
net/*, chrome/browser/net/*, chrome/browser/profiles/* lgtm https://codereview.chromium.org/333113002/diff/380001/net/base/network_delegate.h File net/base/network_delegate.h (right): https://codereview.chromium.org/333113002/diff/380001/net/base/network_delegate.h#newcode134 net/base/network_delegate.h:134: // |headers] before they get ...
6 years, 6 months ago (2014-06-25 20:57:40 UTC) #21
marq (ping after 24h)
lgtm
6 years, 6 months ago (2014-06-25 21:30:34 UTC) #22
bengr
https://codereview.chromium.org/333113002/diff/380001/net/base/network_delegate.h File net/base/network_delegate.h (right): https://codereview.chromium.org/333113002/diff/380001/net/base/network_delegate.h#newcode134 net/base/network_delegate.h:134: // |headers] before they get sent out. |headers| is ...
6 years, 6 months ago (2014-06-25 21:32:20 UTC) #23
pfeldman
devtools rslgtm
6 years, 6 months ago (2014-06-26 01:06:38 UTC) #24
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-06-26 04:26:36 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/333113002/460001
6 years, 6 months ago (2014-06-26 04:28:52 UTC) #26
commit-bot: I haz the power
6 years, 6 months ago (2014-06-26 08:12:30 UTC) #27
Message was sent while issue was closed.
Change committed as 279957

Powered by Google App Engine
This is Rietveld 408576698