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

Issue 8054013: Recover from bad proxy settings pointing to non-proxy servers that reply anyway. (Closed)

Created:
9 years, 2 months ago by Joao da Silva
Modified:
9 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, dpranke+watch-content_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org
Visibility:
Public.

Description

Recover from bad proxy settings pointing to non-proxy servers that reply anyway. Added tests for proxy error recovery. BUG=chromium-os:20775 TEST=DeviceManagementServiceTest.*. Steps described in the bug now work as expected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=103172

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebased, reviewed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -14 lines) Patch
M chrome/browser/policy/cloud_policy_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/device_management_service.cc View 1 3 chunks +40 lines, -13 lines 0 comments Download
M chrome/browser/policy/device_management_service_unittest.cc View 1 2 chunks +74 lines, -0 lines 0 comments Download
M content/common/net/url_fetcher.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/net/url_fetcher.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M content/test/test_url_fetcher_factory.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/test_url_fetcher_factory.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Joao da Silva
Please review, thanks! @mnissler: main review, policy/ changes @willchan: content/ changes, mainly [Test]URLFetcher @akalin: owner ...
9 years, 2 months ago (2011-09-27 15:01:56 UTC) #1
willchan no longer on Chromium
Eric, thoughts here? I'm worried about creep into URLFetcher, since it's already a huge mess, ...
9 years, 2 months ago (2011-09-27 19:04:27 UTC) #2
akalin
Willchan should be sufficient for net/tools/testserver OWNERS (note that the net/tools/testserver/OWNERS is additive -- I'm ...
9 years, 2 months ago (2011-09-27 19:07:54 UTC) #3
eroman
@willchan: i am fine with the changes to url_fetcher
9 years, 2 months ago (2011-09-28 01:56:21 UTC) #4
willchan no longer on Chromium
OK, LGTM. On Tue, Sep 27, 2011 at 6:56 PM, <eroman@chromium.org> wrote: > @willchan: i ...
9 years, 2 months ago (2011-09-28 02:02:11 UTC) #5
Mattias Nissler (ping if slow)
LGTM with some nits and a request for parental guidance. Will, Eric, can you weigh ...
9 years, 2 months ago (2011-09-28 09:06:17 UTC) #6
willchan no longer on Chromium
http://codereview.chromium.org/8054013/diff/1/content/common/net/url_fetcher.cc File content/common/net/url_fetcher.cc (right): http://codereview.chromium.org/8054013/diff/1/content/common/net/url_fetcher.cc#newcode1011 content/common/net/url_fetcher.cc:1011: scoped_refptr<net::HttpResponseHeaders> headers) { On 2011/09/28 09:06:18, Mattias Nissler wrote: ...
9 years, 2 months ago (2011-09-28 18:51:28 UTC) #7
Joao da Silva
Thanks all for reviewing http://codereview.chromium.org/8054013/diff/1/chrome/browser/policy/device_management_service.cc File chrome/browser/policy/device_management_service.cc (right): http://codereview.chromium.org/8054013/diff/1/chrome/browser/policy/device_management_service.cc#newcode246 chrome/browser/policy/device_management_service.cc:246: LOG(WARNING) << "Got bad mime-type ...
9 years, 2 months ago (2011-09-28 19:20:27 UTC) #8
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/8054013/2002
9 years, 2 months ago (2011-09-28 19:20:41 UTC) #9
akalin
> > The rule is to pass in a raw pointer, never const scoped_refptr<T>&. Hmm, ...
9 years, 2 months ago (2011-09-28 19:24:09 UTC) #10
willchan no longer on Chromium
On Wed, Sep 28, 2011 at 12:24 PM, Fred Akalin <akalin@chromium.org> wrote: > The rule ...
9 years, 2 months ago (2011-09-28 19:28:38 UTC) #11
willchan no longer on Chromium
On Wed, Sep 28, 2011 at 12:28 PM, William Chan (陈智昌) <willchan@chromium.org>wrote: > On Wed, ...
9 years, 2 months ago (2011-09-28 19:28:49 UTC) #12
commit-bot: I haz the power
9 years, 2 months ago (2011-09-28 20:46:25 UTC) #13
Change committed as 103172

Powered by Google App Engine
This is Rietveld 408576698