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

Issue 7056003: Give URLRequestJobFactory::Interceptors the ability to specify protocols they handle. (Closed)

Created:
9 years, 7 months ago by koz (OOO until 15th September)
Modified:
9 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Give URLRequestJobFactory::Interceptors the ability to specify protocols they handle. TEST=Unit tests provided. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86714

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -0 lines) Patch
M chrome/browser/profiles/profile_io_data.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/url_request/url_request_job_factory.h View 1 chunk +7 lines, -0 lines 0 comments Download
M net/url_request/url_request_job_factory.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/url_request/url_request_job_factory_unittest.cc View 3 chunks +57 lines, -0 lines 3 comments Download

Messages

Total messages: 11 (0 generated)
koz (OOO until 15th September)
Hey Will, I noticed that RPH stopped working. In your previous change you added an ...
9 years, 7 months ago (2011-05-20 06:46:44 UTC) #1
willchan no longer on Chromium
Oops, my bad. Can we add a browser_test to test this integration to make sure ...
9 years, 7 months ago (2011-05-20 21:23:22 UTC) #2
willchan no longer on Chromium
LGTM, with the understanding that my suggested URLRequestJobFactory::ProtocolHandler solution is cleaner and we should do ...
9 years, 7 months ago (2011-05-20 21:50:58 UTC) #3
oshima
http://codereview.chromium.org/7056003/diff/1/net/url_request/url_request_job_factory_unittest.cc File net/url_request/url_request_job_factory_unittest.cc (right): http://codereview.chromium.org/7056003/diff/1/net/url_request/url_request_job_factory_unittest.cc#newcode168 net/url_request/url_request_job_factory_unittest.cc:168: DummyInterceptor* interceptor = new DummyInterceptor; This seems to be ...
9 years, 7 months ago (2011-05-25 22:45:23 UTC) #4
willchan no longer on Chromium
http://codereview.chromium.org/7056003/diff/1/net/url_request/url_request_job_factory_unittest.cc File net/url_request/url_request_job_factory_unittest.cc (right): http://codereview.chromium.org/7056003/diff/1/net/url_request/url_request_job_factory_unittest.cc#newcode168 net/url_request/url_request_job_factory_unittest.cc:168: DummyInterceptor* interceptor = new DummyInterceptor; On 2011/05/25 22:45:23, oshima ...
9 years, 7 months ago (2011-05-25 22:53:56 UTC) #5
koz (OOO until 15th September)
http://codereview.chromium.org/7056003/diff/1/net/url_request/url_request_job_factory_unittest.cc File net/url_request/url_request_job_factory_unittest.cc (right): http://codereview.chromium.org/7056003/diff/1/net/url_request/url_request_job_factory_unittest.cc#newcode168 net/url_request/url_request_job_factory_unittest.cc:168: DummyInterceptor* interceptor = new DummyInterceptor; On 2011/05/25 22:53:56, willchan ...
9 years, 7 months ago (2011-05-25 22:54:57 UTC) #6
oshima
On 2011/05/25 22:54:57, koz wrote: > http://codereview.chromium.org/7056003/diff/1/net/url_request/url_request_job_factory_unittest.cc > File net/url_request/url_request_job_factory_unittest.cc (right): > > http://codereview.chromium.org/7056003/diff/1/net/url_request/url_request_job_factory_unittest.cc#newcode168 > ...
9 years, 7 months ago (2011-05-25 23:54:22 UTC) #7
koz (OOO until 15th September)
On 2011/05/25 23:54:22, oshima wrote: > > Yep, fixing now. > If it was passing, ...
9 years, 7 months ago (2011-05-26 00:03:24 UTC) #8
oshima
koz, can you remove suppression as well? On Wed, May 25, 2011 at 5:03 PM, ...
9 years, 7 months ago (2011-05-26 00:41:40 UTC) #9
koz (OOO until 15th September)
On 2011/05/26 00:41:40, oshima wrote: > koz, can you remove suppression as well? > > ...
9 years, 7 months ago (2011-05-26 01:37:14 UTC) #10
oshima
9 years, 7 months ago (2011-05-26 01:46:28 UTC) #11
On Wed, May 25, 2011 at 6:37 PM, <koz@chromium.org> wrote:

> On 2011/05/26 00:41:40, oshima wrote:
>
>> koz, can you remove suppression as well?
>>
>
>  On Wed, May 25, 2011 at 5:03 PM, <mailto:koz@chromium.org> wrote:
>>
>
>  > On 2011/05/25 23:54:22, oshima wrote:
>> >
>> >> > Yep, fixing now.
>> >> If it was passing, you probably want to improve your test as well.
>> >>
>> >
>> > The test is fine after the fix in r86746 - the bug was that we were
>> > asserting
>> > that a new, private dummy interceptor was not being called, which would
>> > always
>> > be true. Now the test is actually testing something :-)
>> >
>> >
>> > http://codereview.chromium.org/7056003/
>> >
>>
>
> Oh, I didn't know there was a suppression, and I can't find one either. Did
> you
> make one?
>
> Sorry, I mixed with other leaks. No suppression, so you're good.

- oshima


>
> http://codereview.chromium.org/7056003/
>

Powered by Google App Engine
This is Rietveld 408576698