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

Issue 2898073002: Revert "Revert of Allow use of Mojo/V8 ProxyResolvers with URLRequestContextBuilder. (patchset #10 … (Closed)

Created:
3 years, 7 months ago by mmenke
Modified:
3 years, 7 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow use of Mojo/V8 ProxyResolvers with URLRequestContextBuilder. This adds URLRequestContextBuilderV8, which can construct a URLRequestContext using either type of ProxyResolver. When using such a resolver, the ProxyService will fetch requests using the URLRequestContext that was created with the builder. Added a subclass instead of modifying URLRequestContextBuilder so it can continue to be used without depending on V8. This was originally landed in https://codereview.chromium.org/2881613002/, and reverted in https://codereview.chromium.org/2888043008/. This version of the CL fixes a test-only lifetime issue. BUG=717253, 724471 Review-Url: https://codereview.chromium.org/2898073002 Cr-Commit-Position: refs/heads/master@{#473933} Committed: https://chromium.googlesource.com/chromium/src/+/93be9ca690ac29ad965a7f7bf6f899cf05c0c582

Patch Set 1 #

Patch Set 2 : Fix lifetimes #

Patch Set 3 : Add EXPECT_TRUE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+590 lines, -89 lines) Patch
M net/BUILD.gn View 8 chunks +44 lines, -3 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 4 chunks +5 lines, -33 lines 0 comments Download
M net/proxy/proxy_service_mojo_unittest.cc View 4 chunks +2 lines, -32 lines 0 comments Download
A net/proxy/test_mojo_proxy_resolver_factory.h View 1 chunk +52 lines, -0 lines 0 comments Download
A net/proxy/test_mojo_proxy_resolver_factory.cc View 1 chunk +34 lines, -0 lines 0 comments Download
M net/test/embedded_test_server/http_request.cc View 1 chunk +1 line, -1 line 0 comments Download
A net/test/embedded_test_server/simple_connection_listener.h View 1 chunk +67 lines, -0 lines 0 comments Download
A net/test/embedded_test_server/simple_connection_listener.cc View 1 chunk +41 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 3 chunks +17 lines, -1 line 0 comments Download
M net/url_request/url_request_context_builder.cc View 4 chunks +40 lines, -19 lines 0 comments Download
A net/url_request/url_request_context_builder_v8.h View 1 chunk +92 lines, -0 lines 0 comments Download
A net/url_request/url_request_context_builder_v8.cc View 1 chunk +64 lines, -0 lines 0 comments Download
A net/url_request/url_request_context_builder_v8_unittest.cc View 1 2 1 chunk +131 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
mmenke
Set 1 is the original patch, and set 2 is the one with the putative ...
3 years, 7 months ago (2017-05-22 22:10:21 UTC) #4
mmenke
On 2017/05/22 22:10:21, mmenke wrote: > Set 1 is the original patch, and set 2 ...
3 years, 7 months ago (2017-05-22 22:54:04 UTC) #9
eroman
lgtm with that fix.
3 years, 7 months ago (2017-05-22 23:08:55 UTC) #10
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/2898073002/40001
3 years, 7 months ago (2017-05-23 15:11:51 UTC) #16
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/2898073002/40001
3 years, 7 months ago (2017-05-23 16:19:51 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 16:29:42 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/93be9ca690ac29ad965a7f7bf6f8...

Powered by Google App Engine
This is Rietveld 408576698