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

Issue 1104413003: Check for *.googlezip.net proxies when migrating proxy pref for DRP. (Closed)

Created:
5 years, 7 months ago by sclittle
Modified:
5 years, 7 months ago
Reviewers:
bengr
CC:
chromium-reviews, cbentzel+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 *.googlezip.net proxies when migrating proxy pref for DRP. Previously, the proxy pref would not be cleared during migration if the proxy pref was set to a Data Reduction Proxy that didn't match a currently configured DRP, e.g. if the pref was for "proxy.googlezip.net", but the configured DRP is "proxy-dev.googlezip.net". This change causes Chrome to clear the proxy pref if it contains any proxy with a host ending with ".googlezip.net". BUG=476610 Committed: https://crrev.com/8f9fd102faa07d91dbe680f160f9ea0057e4eb5f Cr-Commit-Position: refs/heads/master@{#327357}

Patch Set 1 #

Patch Set 2 : Ran git cl format #

Total comments: 6

Patch Set 3 : Addressed comments #

Patch Set 4 : Added test for http://googlezip.net #

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

Messages

Total messages: 12 (2 generated)
sclittle
PTAL
5 years, 7 months ago (2015-04-28 00:45:51 UTC) #2
bengr
https://codereview.chromium.org/1104413003/diff/20001/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/1104413003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode99 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:99: !ContainsDataReductionProxy(proxy_rules)) { You might want to rename this method ...
5 years, 7 months ago (2015-04-28 16:52:27 UTC) #3
sclittle
https://codereview.chromium.org/1104413003/diff/20001/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/1104413003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc#newcode99 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc:99: !ContainsDataReductionProxy(proxy_rules)) { On 2015/04/28 16:52:27, bengr wrote: > You ...
5 years, 7 months ago (2015-04-28 18:27:57 UTC) #4
bengr
https://codereview.chromium.org/1104413003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc (right): https://codereview.chromium.org/1104413003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc#newcode108 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc:108: dict_->SetString("server", "http=http://proxy-dev.googlezip.net"); On 2015/04/28 18:27:57, sclittle wrote: > On ...
5 years, 7 months ago (2015-04-28 18:31:53 UTC) #5
sclittle
https://codereview.chromium.org/1104413003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc (right): https://codereview.chromium.org/1104413003/diff/20001/chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc#newcode108 chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc:108: dict_->SetString("server", "http=http://proxy-dev.googlezip.net"); On 2015/04/28 18:31:53, bengr wrote: > On ...
5 years, 7 months ago (2015-04-28 19:25:20 UTC) #6
bengr
5 years, 7 months ago (2015-04-28 19:27:43 UTC) #7
bengr
lgtm
5 years, 7 months ago (2015-04-28 19:27:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104413003/60001
5 years, 7 months ago (2015-04-28 19:28:58 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-04-28 20:29:57 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 20:30:40 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8f9fd102faa07d91dbe680f160f9ea0057e4eb5f
Cr-Commit-Position: refs/heads/master@{#327357}

Powered by Google App Engine
This is Rietveld 408576698