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

Issue 2544613003: Disable precache if data_reduction_proxy enabled. (Closed)

Created:
4 years ago by twifkak
Modified:
4 years ago
Reviewers:
bengr
CC:
chromium-reviews, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, jam, darin-cc_chromium.org, wifiprefetch-reviews_google.com
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable precache if data_reduction_proxy enabled. Disable precache if data_reduction_proxy is enabled on this client and the disable_if_data_reduction_proxy variation parameter is set (non-empty) on the field trial. BUG=670070 Committed: https://crrev.com/1190ea49edece62ceb6f1b469364fd026134c695 Cr-Commit-Position: refs/heads/master@{#437386}

Patch Set 1 #

Patch Set 2 : Add data_reduction_proxy dep to BUILD.gn. #

Patch Set 3 : Fix build error by allowing upcast. #

Patch Set 4 : Add variation param and gate on its presence. #

Total comments: 2

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -11 lines) Patch
M chrome/browser/precache/precache_manager_factory.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M components/precache/content/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/precache/content/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/precache/content/precache_manager.h View 3 chunks +13 lines, -2 lines 0 comments Download
M components/precache/content/precache_manager.cc View 1 2 3 4 4 chunks +12 lines, -0 lines 0 comments Download
M components/precache/content/precache_manager_unittest.cc View 2 chunks +13 lines, -9 lines 0 comments Download

Messages

Total messages: 34 (24 generated)
twifkak
4 years ago (2016-11-30 22:07:47 UTC) #2
twifkak
bengr: I added the variation param per our discussion.
4 years ago (2016-12-03 02:18:36 UTC) #20
bengr
I presume you tested this and it works? https://codereview.chromium.org/2544613003/diff/60001/components/precache/content/precache_manager.cc File components/precache/content/precache_manager.cc (right): https://codereview.chromium.org/2544613003/diff/60001/components/precache/content/precache_manager.cc#newcode110 components/precache/content/precache_manager.cc:110: (!data_reduction_proxy_settings_ ...
4 years ago (2016-12-07 00:18:25 UTC) #21
twifkak
Yes, it works. https://codereview.chromium.org/2544613003/diff/60001/components/precache/content/precache_manager.cc File components/precache/content/precache_manager.cc (right): https://codereview.chromium.org/2544613003/diff/60001/components/precache/content/precache_manager.cc#newcode110 components/precache/content/precache_manager.cc:110: (!data_reduction_proxy_settings_ || On 2016/12/07 00:18:25, bengr ...
4 years ago (2016-12-07 02:13:35 UTC) #22
bengr
On 2016/12/07 02:13:35, twifkak wrote: > Yes, it works. > > https://codereview.chromium.org/2544613003/diff/60001/components/precache/content/precache_manager.cc > File components/precache/content/precache_manager.cc ...
4 years ago (2016-12-08 18:25:14 UTC) #23
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/2544613003/60001
4 years ago (2016-12-08 20:52:50 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/119772) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-12-08 20:56:21 UTC) #27
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/2544613003/80001
4 years ago (2016-12-08 21:11:00 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-08 22:56:36 UTC) #32
commit-bot: I haz the power
4 years ago (2016-12-08 22:58:16 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1190ea49edece62ceb6f1b469364fd026134c695
Cr-Commit-Position: refs/heads/master@{#437386}

Powered by Google App Engine
This is Rietveld 408576698