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

Issue 2626963003: Remove kAllowed and kFallbackAllowed from data reduction proxy (Closed)

Created:
3 years, 11 months ago by Raj
Modified:
3 years, 11 months ago
Reviewers:
lazyboy, gone, tbansal1
CC:
chromium-reviews, cbentzel+watch_chromium.org, tbansal+watch-data-reduction-proxy_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove kAllowed and kFallbackAllowed from data reduction proxy Data reduction proxy is always allowed with primary and fallback mechanism. BUG=654438 Review-Url: https://codereview.chromium.org/2626963003 Cr-Commit-Position: refs/heads/master@{#443497} Committed: https://chromium.googlesource.com/chromium/src/+/bea6ff95471b7a3da8030b0903d73e48434cc18a

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed tbansal@ comments #

Total comments: 5

Patch Set 3 : Addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -336 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java View 1 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java View 1 1 chunk +2 lines, -7 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc View 1 chunk +16 lines, -10 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc View 3 chunks +0 lines, -9 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 11 chunks +14 lines, -48 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor_unittest.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc View 1 3 chunks +6 lines, -10 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.h View 2 chunks +0 lines, -4 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values.cc View 3 chunks +0 lines, -12 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_mutable_config_values_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h View 1 2 chunks +2 lines, -7 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc View 1 6 chunks +6 lines, -21 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h View 1 4 chunks +3 lines, -12 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc View 3 chunks +1 line, -9 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc View 3 chunks +2 lines, -25 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 chunk +1 line, -3 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_config_values.h View 1 chunk +0 lines, -6 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 4 chunks +5 lines, -22 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 5 chunks +12 lines, -48 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params_unittest.cc View 1 2 5 chunks +13 lines, -38 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
Raj
ptal
3 years, 11 months ago (2017-01-11 18:54:17 UTC) #2
tbansal1
Thanks for doing this. https://codereview.chromium.org/2626963003/diff/1/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 (right): https://codereview.chromium.org/2626963003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java#newcode130 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java:130: public boolean isDataReductionProxyAllowed() { Why ...
3 years, 11 months ago (2017-01-11 22:26:33 UTC) #3
Raj
https://codereview.chromium.org/2626963003/diff/1/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 (right): https://codereview.chromium.org/2626963003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java#newcode130 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java:130: public boolean isDataReductionProxyAllowed() { On 2017/01/11 22:26:33, tbansal1 wrote: ...
3 years, 11 months ago (2017-01-11 23:49:21 UTC) #4
Raj
https://codereview.chromium.org/2626963003/diff/20001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h File components/data_reduction_proxy/core/common/data_reduction_proxy_params.h (right): https://codereview.chromium.org/2626963003/diff/20001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h#newcode184 components/data_reduction_proxy/core/common/data_reduction_proxy_params.h:184: static const unsigned int kPromoAllowed = (1 << 2); ...
3 years, 11 months ago (2017-01-12 18:08:01 UTC) #5
tbansal1
lgtm % 1 nit. Thanks for doing this. https://codereview.chromium.org/2626963003/diff/20001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h File components/data_reduction_proxy/core/common/data_reduction_proxy_params.h (right): https://codereview.chromium.org/2626963003/diff/20001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h#newcode184 components/data_reduction_proxy/core/common/data_reduction_proxy_params.h:184: static ...
3 years, 11 months ago (2017-01-12 19:39:05 UTC) #6
Raj
https://codereview.chromium.org/2626963003/diff/20001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h File components/data_reduction_proxy/core/common/data_reduction_proxy_params.h (right): https://codereview.chromium.org/2626963003/diff/20001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h#newcode184 components/data_reduction_proxy/core/common/data_reduction_proxy_params.h:184: static const unsigned int kPromoAllowed = (1 << 2); ...
3 years, 11 months ago (2017-01-13 00:07:08 UTC) #13
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/2626963003/40001
3 years, 11 months ago (2017-01-13 00:08:34 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/341233)
3 years, 11 months ago (2017-01-13 00:24:02 UTC) #16
Raj
lazyboy: ptal DataReductionProxySettings.java and MainPreferences.java dfalcantara: ptal render_view_context_menu_unittest.cc
3 years, 11 months ago (2017-01-13 00:24:59 UTC) #18
lazyboy
render_view_context_menu_unittest.cc lgtm.
3 years, 11 months ago (2017-01-13 00:32:49 UTC) #19
gone
java files lgtm.
3 years, 11 months ago (2017-01-13 01:06:09 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/2626963003/40001
3 years, 11 months ago (2017-01-13 05:28:19 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/bea6ff95471b7a3da8030b0903d73e48434cc18a
3 years, 11 months ago (2017-01-13 05:34:34 UTC) #25
Ted C
3 years, 11 months ago (2017-01-17 17:11:02 UTC) #26
Message was sent while issue was closed.
On 2017/01/13 05:34:34, commit-bot: I haz the power wrote:
> Committed patchset #3 (id:40001) as
>
https://chromium.googlesource.com/chromium/src/+/bea6ff95471b7a3da8030b0903d7...

This breaks cronet:
https://build.chromium.org/p/chromium.android/builders/Android%20Cronet%20Dat...

../../components/cronet/android/cronet_data_reduction_proxy.cc: In constructor
'cronet::CronetDataReductionProxy::CronetDataReductionProxy(const string&, const
string&, const string&, const string&, const string&,
scoped_refptr<base::SingleThreadTaskRunner>, net::NetLog*)':
../../components/cronet/android/cronet_data_reduction_proxy.cc:93:7: error:
'kAllowed' is not a member of 'data_reduction_proxy::DataReductionProxyParams'
       data_reduction_proxy::DataReductionProxyParams::kAllowed |
       ^
../../components/cronet/android/cronet_data_reduction_proxy.cc:94:11: error:
'kFallbackAllowed' is not a member of
'data_reduction_proxy::DataReductionProxyParams'
           data_reduc

Powered by Google App Engine
This is Rietveld 408576698