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

Issue 669163003: Handle disabling data reduction proxy for all platforms. (Closed)

Created:
6 years, 1 month ago by Not at Google. Contact bengr
Modified:
6 years, 1 month ago
Reviewers:
bengr, rpetterson
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Handle disabling data reduction proxy for all platforms. Disable data reduction proxy by deleting user level proxy prefs only if the proxy is known to be a data_reduction_proxy. Remove duplicate implementation in off_the_record_profile_impl.cc. BUG=426220 Committed: https://crrev.com/ef948c023b46e6a006d15c186e56740a2d7a9034 Cr-Commit-Position: refs/heads/master@{#302156}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed bengr's comments #

Total comments: 8

Patch Set 3 : Use IsDataReductionProxy()/ #

Total comments: 10

Patch Set 4 : Addressed bengr's changes #

Total comments: 18

Patch Set 5 : Sync to head #

Patch Set 6 : Clarified comments. Added kEverythingAllowed. #

Total comments: 2

Patch Set 7 : Renamed to kAllowAllProxyConfigurations. #

Patch Set 8 : Sync to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -27 lines) Patch
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc View 1 2 3 4 5 6 4 chunks +56 lines, -6 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator_unittest.cc View 1 2 3 4 5 6 3 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 3 chunks +3 lines, -19 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
Not at Google. Contact bengr
rlp: chrome/browser/profiles/off_the_record_profile_impl.cc bengr: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc
6 years, 1 month ago (2014-10-27 23:18:17 UTC) #2
bengr
https://codereview.chromium.org/669163003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc (right): https://codereview.chromium.org/669163003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode70 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:70: dict->SetBoolean("is_data_reduction_proxy", true); How about "use_with_off_the_record", false https://codereview.chromium.org/669163003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode93 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:93: dict->GetBoolean("is_data_reduction_proxy", ...
6 years, 1 month ago (2014-10-27 23:28:02 UTC) #3
Not at Google. Contact bengr
https://codereview.chromium.org/669163003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc (right): https://codereview.chromium.org/669163003/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode70 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:70: dict->SetBoolean("is_data_reduction_proxy", true); On 2014/10/27 23:28:01, bengr wrote: > How ...
6 years, 1 month ago (2014-10-28 19:51:03 UTC) #4
bengr
https://codereview.chromium.org/669163003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc (right): https://codereview.chromium.org/669163003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode38 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:38: return; I prefer using curly braces when the if ...
6 years, 1 month ago (2014-10-28 21:03:41 UTC) #5
Not at Google. Contact bengr
https://codereview.chromium.org/669163003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc (right): https://codereview.chromium.org/669163003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode38 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:38: return; On 2014/10/28 21:03:41, bengr wrote: > I prefer ...
6 years, 1 month ago (2014-10-28 22:31:44 UTC) #6
bengr
https://codereview.chromium.org/669163003/diff/40001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc (right): https://codereview.chromium.org/669163003/diff/40001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode143 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:143: data_reduction_proxy::DataReductionProxyParams params(0); How does this work? Nothing is allowed, ...
6 years, 1 month ago (2014-10-29 20:58:46 UTC) #7
Not at Google. Contact bengr
https://codereview.chromium.org/669163003/diff/40001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc (right): https://codereview.chromium.org/669163003/diff/40001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode143 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:143: data_reduction_proxy::DataReductionProxyParams params(0); On 2014/10/29 20:58:46, bengr wrote: > How ...
6 years, 1 month ago (2014-10-29 22:30:14 UTC) #8
bengr
https://codereview.chromium.org/669163003/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc (right): https://codereview.chromium.org/669163003/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode33 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:33: base::DictionaryValue* dict = update.Get(); #include "base/values.h" https://codereview.chromium.org/669163003/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode40 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:40: if ...
6 years, 1 month ago (2014-10-29 23:41:26 UTC) #9
Not at Google. Contact bengr
https://codereview.chromium.org/669163003/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc (right): https://codereview.chromium.org/669163003/diff/60001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc#newcode33 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc:33: base::DictionaryValue* dict = update.Get(); On 2014/10/29 23:41:25, bengr wrote: ...
6 years, 1 month ago (2014-10-30 00:05:03 UTC) #10
Not at Google. Contact bengr
rlp: chrome/browser/profiles/off_the_record_profile_impl.cc bengr: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.h chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator_unittest.cc components/data_reduction_proxy/core/common/data_reduction_proxy_params.cc components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
6 years, 1 month ago (2014-10-30 00:06:01 UTC) #12
rpetterson
profiles lgtm
6 years, 1 month ago (2014-10-30 17:16:18 UTC) #13
bengr
lgtm, but please address this last comment. https://codereview.chromium.org/669163003/diff/100001/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/669163003/diff/100001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h#newcode55 components/data_reduction_proxy/core/common/data_reduction_proxy_params.h:55: static const ...
6 years, 1 month ago (2014-10-30 18:13:49 UTC) #14
Not at Google. Contact bengr
https://codereview.chromium.org/669163003/diff/100001/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/669163003/diff/100001/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h#newcode55 components/data_reduction_proxy/core/common/data_reduction_proxy_params.h:55: static const unsigned int kEverythingAllowed = kAllowed | kFallbackAllowed ...
6 years, 1 month ago (2014-10-30 18:31:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/669163003/140001
6 years, 1 month ago (2014-10-30 20:27:17 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years, 1 month ago (2014-10-30 21:12:31 UTC) #18
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 21:13:53 UTC) #19
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ef948c023b46e6a006d15c186e56740a2d7a9034
Cr-Commit-Position: refs/heads/master@{#302156}

Powered by Google App Engine
This is Rietveld 408576698