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

Issue 1148793008: Check for embedded PAC scripts when migrating proxy pref for DRP. (Closed)

Created:
5 years, 6 months ago by sclittle
Modified:
5 years, 6 months ago
Reviewers:
bengr
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for embedded PAC scripts when migrating proxy pref for DRP. In M35 and earlier, the Data Reduction Proxy was enabled by setting the proxy pref to an embedded PAC script. As of M41, Chrome would no longer clear this embedded DRP PAC script, possibly causing the DRP to be used when it shouldn't be if a client upgrades directly from M35- to M41+. This change causes Chrome to clear the proxy pref if it represents an embedded PAC script that contains the string ".googlezip.net:". BUG=476610 Committed: https://crrev.com/3391c30e356838d069f9a344e439314d24dba0c6 Cr-Commit-Position: refs/heads/master@{#333319}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed bengr comments. #

Patch Set 3 : Removed histograms.xml changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -22 lines) Patch
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc View 1 3 chunks +59 lines, -20 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc View 2 chunks +112 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
sclittle
bengr: * asvitkine: histograms.xml Thanks in advance!
5 years, 6 months ago (2015-06-06 05:02:47 UTC) #2
bengr
https://codereview.chromium.org/1148793008/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc (right): https://codereview.chromium.org/1148793008/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode65 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:65: bool GetEmbeddedPacScript(const std::string& pac_url, std::string* pac_script) { Can the ...
5 years, 6 months ago (2015-06-08 18:26:33 UTC) #3
sclittle
https://codereview.chromium.org/1148793008/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc (right): https://codereview.chromium.org/1148793008/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode65 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:65: bool GetEmbeddedPacScript(const std::string& pac_url, std::string* pac_script) { On 2015/06/08 ...
5 years, 6 months ago (2015-06-08 18:47:45 UTC) #5
sclittle
-asvitkine as a reviewer, since this has to get in ASAP I'll make the histograms.xml ...
5 years, 6 months ago (2015-06-08 19:02:04 UTC) #7
bengr
lgtm
5 years, 6 months ago (2015-06-08 19:07:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148793008/60001
5 years, 6 months ago (2015-06-08 19:10:17 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 6 months ago (2015-06-08 19:42:47 UTC) #11
commit-bot: I haz the power
5 years, 6 months ago (2015-06-08 19:43:36 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3391c30e356838d069f9a344e439314d24dba0c6
Cr-Commit-Position: refs/heads/master@{#333319}

Powered by Google App Engine
This is Rietveld 408576698