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

Issue 286013002: Added alternative configuration for the data reduction proxy (Closed)

Created:
6 years, 7 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@master
Visibility:
Public.

Description

Added alternative configuration for the data reduction proxy Added a second configuration that can support two http proxies and one https proxy. In the process, added a new DataReductionProxyParams object to encapsulate static configuration details and made DataReductionSettingsAndroid a BrowserKeyedContextService. BUG=370039 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273810 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274067

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Addressed comments #

Patch Set 3 : Rebase #

Patch Set 4 : Windows nit #

Patch Set 5 : fixed tests #

Patch Set 6 : fixed metrics #

Patch Set 7 : #

Patch Set 8 : android webview fix #

Patch Set 9 : DCHECK fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1509 lines, -520 lines) Patch
M android_webview/browser/aw_browser_context.cc View 1 2 3 4 5 6 7 8 3 chunks +21 lines, -16 lines 0 comments Download
M android_webview/browser/net/aw_url_request_context_getter.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -9 lines 0 comments Download
M android_webview/native/aw_contents_statics.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 3 chunks +18 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java View 4 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/io_thread.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 4 chunks +22 lines, -9 lines 0 comments Download
M chrome/browser/net/predictor.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc View 2 chunks +13 lines, -5 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator_unittest.cc View 5 chunks +25 lines, -9 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h View 2 chunks +17 lines, -8 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc View 6 chunks +39 lines, -35 lines 0 comments Download
A chrome/browser/net/spdyproxy/data_reduction_proxy_settings_factory_android.h View 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/net/spdyproxy/data_reduction_proxy_settings_factory_android.cc View 1 1 chunk +63 lines, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc View 1 2 3 4 4 chunks +22 lines, -7 lines 0 comments Download
M chrome/browser/net/spdyproxy/proxy_advisor.cc View 1 3 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/data_reduction_proxy.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler_unittest.cc View 1 2 3 4 6 chunks +21 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_config_service.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_config_service.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_config_service_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_configurator.h View 1 chunk +3 lines, -1 line 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc View 1 2 3 4 5 2 chunks +11 lines, -2 lines 0 comments Download
A components/data_reduction_proxy/browser/data_reduction_proxy_params.h View 1 1 chunk +177 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/browser/data_reduction_proxy_params.cc View 1 2 3 4 5 6 7 8 1 chunk +284 lines, -0 lines 0 comments Download
A components/data_reduction_proxy/browser/data_reduction_proxy_params_unittest.cc View 1 1 chunk +295 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_prefs.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings.h View 10 chunks +43 lines, -80 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc View 22 chunks +123 lines, -219 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h View 1 4 chunks +40 lines, -10 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc View 1 8 chunks +49 lines, -17 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_unittest.cc View 1 2 3 4 12 chunks +82 lines, -63 lines 0 comments Download
M components/data_reduction_proxy/common/data_reduction_proxy_pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/data_reduction_proxy/common/data_reduction_proxy_pref_names.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/common/data_reduction_proxy_switches.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/common/data_reduction_proxy_switches.cc View 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (0 generated)
bengr
sgurun: android_webview/* nyquist: chrome/android/* thestig: chrome/browser/io_thread.* mef: chrome/browser/net/predictor.cc marq: chrome/browser/net/spdyproxy/* components/components_tests.gyp components/data_reduction_proxy.gypi components/data_reduction_proxy/* mmenke: chrome/browser/profiles/profile_impl_io_data.cc
6 years, 7 months ago (2014-05-20 21:03:31 UTC) #1
sgurun-gerrit only
aw lgtm https://codereview.chromium.org/286013002/diff/140001/android_webview/browser/aw_browser_context.cc File android_webview/browser/aw_browser_context.cc (right): https://codereview.chromium.org/286013002/diff/140001/android_webview/browser/aw_browser_context.cc#newcode101 android_webview/browser/aw_browser_context.cc:101: true, false, false, false))); nit: I think ...
6 years, 7 months ago (2014-05-20 23:55:21 UTC) #2
mmenke
https://codereview.chromium.org/286013002/diff/140001/chrome/browser/net/spdyproxy/proxy_advisor.cc File chrome/browser/net/spdyproxy/proxy_advisor.cc (right): https://codereview.chromium.org/286013002/diff/140001/chrome/browser/net/spdyproxy/proxy_advisor.cc#newcode25 chrome/browser/net/spdyproxy/proxy_advisor.cc:25: // TODO(marq): Remove this class because it is not ...
6 years, 7 months ago (2014-05-21 16:00:19 UTC) #3
mmenke
Oops...looked at the wrong file. profiles/ LGTM. https://codereview.chromium.org/286013002/diff/140001/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/286013002/diff/140001/chrome/browser/profiles/profile_impl_io_data.cc#newcode53 chrome/browser/profiles/profile_impl_io_data.cc:53: #include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h" ...
6 years, 7 months ago (2014-05-21 16:10:17 UTC) #4
sgurun-gerrit only
https://codereview.chromium.org/286013002/diff/140001/chrome/browser/net/spdyproxy/proxy_advisor.cc File chrome/browser/net/spdyproxy/proxy_advisor.cc (right): https://codereview.chromium.org/286013002/diff/140001/chrome/browser/net/spdyproxy/proxy_advisor.cc#newcode126 chrome/browser/net/spdyproxy/proxy_advisor.cc:126: true, true, false, true); I like the idea of ...
6 years, 7 months ago (2014-05-21 16:21:29 UTC) #5
nyquist
chrome/android lgtm
6 years, 7 months ago (2014-05-21 17:37:08 UTC) #6
Lei Zhang
c/b/io_threads.* lgtm https://codereview.chromium.org/286013002/diff/140001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/286013002/diff/140001/build/common.gypi#newcode556 build/common.gypi:556: 'data_reduction_proxy_alt_fallback_origin%' : '', I'm a little concerned ...
6 years, 7 months ago (2014-05-21 19:41:28 UTC) #7
mef
chrome/browser/net/predictor.cc lgtm
6 years, 7 months ago (2014-05-23 18:39:35 UTC) #8
marq (ping after 24h)
lgtm, although there will be some work to merge on iOS.
6 years, 7 months ago (2014-05-27 22:31:46 UTC) #9
bengr
https://codereview.chromium.org/286013002/diff/140001/chrome/browser/net/spdyproxy/proxy_advisor.cc File chrome/browser/net/spdyproxy/proxy_advisor.cc (right): https://codereview.chromium.org/286013002/diff/140001/chrome/browser/net/spdyproxy/proxy_advisor.cc#newcode25 chrome/browser/net/spdyproxy/proxy_advisor.cc:25: // TODO(marq): Remove this class because it is not ...
6 years, 7 months ago (2014-05-28 01:25:32 UTC) #10
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 7 months ago (2014-05-28 07:35:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/260001
6 years, 7 months ago (2014-05-28 07:36:01 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 11:15:13 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 11:16:39 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/18258) mac_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_triggered_tests/builds/8327) win_gpu_triggered_tests ...
6 years, 6 months ago (2014-05-28 11:16:40 UTC) #15
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-28 14:33:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/260001
6 years, 6 months ago (2014-05-28 14:33:36 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 18:32:02 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 18:33:58 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/18370) mac_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_triggered_tests/builds/8431) win_gpu_triggered_tests ...
6 years, 6 months ago (2014-05-28 18:33:59 UTC) #20
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-28 21:06:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/260001
6 years, 6 months ago (2014-05-28 21:08:04 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 00:29:44 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 00:32:06 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/18578) mac_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_triggered_tests/builds/8626) win_gpu_triggered_tests ...
6 years, 6 months ago (2014-05-29 00:32:07 UTC) #25
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-29 03:37:30 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/260001
6 years, 6 months ago (2014-05-29 03:39:11 UTC) #27
bengr
The CQ bit was unchecked by bengr@chromium.org
6 years, 6 months ago (2014-05-29 03:39:58 UTC) #28
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-29 05:20:49 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/300001
6 years, 6 months ago (2014-05-29 05:22:19 UTC) #30
bengr
The CQ bit was unchecked by bengr@chromium.org
6 years, 6 months ago (2014-05-29 06:42:12 UTC) #31
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-29 07:45:13 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/340001
6 years, 6 months ago (2014-05-29 07:47:01 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 09:21:30 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 09:23:50 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/18722) mac_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_triggered_tests/builds/8774) win_gpu_triggered_tests ...
6 years, 6 months ago (2014-05-29 09:23:51 UTC) #36
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-29 17:06:14 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/360001
6 years, 6 months ago (2014-05-29 17:10:03 UTC) #38
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 18:53:15 UTC) #39
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-29 21:26:59 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/380001
6 years, 6 months ago (2014-05-29 21:29:07 UTC) #41
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 22:03:47 UTC) #42
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 22:40:16 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/158064)
6 years, 6 months ago (2014-05-29 22:40:17 UTC) #44
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-30 08:08:23 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/470001
6 years, 6 months ago (2014-05-30 08:09:22 UTC) #46
commit-bot: I haz the power
Change committed as 273810
6 years, 6 months ago (2014-05-30 13:06:30 UTC) #47
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 6 months ago (2014-05-31 05:00:09 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/286013002/490001
6 years, 6 months ago (2014-05-31 05:02:36 UTC) #49
commit-bot: I haz the power
6 years, 6 months ago (2014-05-31 22:19:51 UTC) #50
Message was sent while issue was closed.
Change committed as 274067

Powered by Google App Engine
This is Rietveld 408576698