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

Issue 1017453005: Add support for ProxyResolverErrorObserver to ProxyResolverMojo. (Closed)

Created:
5 years, 9 months ago by Sam McNally
Modified:
5 years, 7 months ago
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), ben+mojo_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for ProxyResolverErrorObserver to ProxyResolverMojo. BUG=467832 Committed: https://crrev.com/359a8b7489247d20a4d83d5cc78ae684625f5f13 Cr-Commit-Position: refs/heads/master@{#330081}

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : rebase #

Patch Set 5 : #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Total comments: 2

Patch Set 9 : rebase #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+468 lines, -116 lines) Patch
M chrome/browser/net/utility_process_mojo_proxy_resolver_factory.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/utility_process_mojo_proxy_resolver_factory.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M net/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M net/interfaces/proxy_resolver_service.mojom View 1 2 3 4 5 6 1 chunk +6 lines, -1 line 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/in_process_mojo_proxy_resolver_factory.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/in_process_mojo_proxy_resolver_factory.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M net/proxy/mojo_proxy_resolver_factory.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/mojo_proxy_resolver_factory_impl.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M net/proxy/mojo_proxy_resolver_factory_impl.cc View 1 2 3 4 5 6 7 6 chunks +12 lines, -5 lines 0 comments Download
M net/proxy/mojo_proxy_resolver_factory_impl_unittest.cc View 1 2 3 4 5 6 9 chunks +37 lines, -21 lines 0 comments Download
A net/proxy/proxy_resolver_error_observer_mojo.h View 1 2 3 4 5 6 7 1 chunk +43 lines, -0 lines 0 comments Download
A net/proxy/proxy_resolver_error_observer_mojo.cc View 1 2 3 4 5 6 7 8 9 1 chunk +46 lines, -0 lines 0 comments Download
A net/proxy/proxy_resolver_error_observer_mojo_unittest.cc View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
M net/proxy/proxy_resolver_mojo.h View 1 2 3 4 5 6 7 2 chunks +9 lines, -75 lines 0 comments Download
M net/proxy/proxy_resolver_mojo.cc View 1 2 3 4 5 6 7 6 chunks +126 lines, -5 lines 0 comments Download
M net/proxy/proxy_resolver_mojo_unittest.cc View 1 2 3 4 5 6 7 5 chunks +10 lines, -3 lines 0 comments Download
M net/proxy/proxy_service_mojo.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -2 lines 0 comments Download
M net/proxy/proxy_service_mojo_unittest.cc View 1 2 3 4 5 6 5 chunks +51 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Sam McNally
5 years, 9 months ago (2015-03-17 07:24:35 UTC) #3
Anand Mistry (off Chromium)
https://codereview.chromium.org/1017453005/diff/60001/net/proxy/proxy_resolver_error_observer_mojo.cc File net/proxy/proxy_resolver_error_observer_mojo.cc (right): https://codereview.chromium.org/1017453005/diff/60001/net/proxy/proxy_resolver_error_observer_mojo.cc#newcode16 net/proxy/proxy_resolver_error_observer_mojo.cc:16: class ProxyResolverErrorObserverMojo::Core I think you can simplify this code ...
5 years, 9 months ago (2015-03-20 03:12:32 UTC) #4
Sam McNally
https://codereview.chromium.org/1017453005/diff/60001/net/proxy/proxy_resolver_error_observer_mojo.cc File net/proxy/proxy_resolver_error_observer_mojo.cc (right): https://codereview.chromium.org/1017453005/diff/60001/net/proxy/proxy_resolver_error_observer_mojo.cc#newcode16 net/proxy/proxy_resolver_error_observer_mojo.cc:16: class ProxyResolverErrorObserverMojo::Core On 2015/03/20 03:12:32, Anand Mistry wrote: > ...
5 years, 9 months ago (2015-03-20 03:52:41 UTC) #5
Anand Mistry (off Chromium)
lgtm Definitely cleaner.
5 years, 9 months ago (2015-03-20 07:48:56 UTC) #6
eroman
Have you considered instead merging this into the response from ResolveProxy/SetProxy? Seems to me like ...
5 years, 9 months ago (2015-03-24 00:54:28 UTC) #7
eroman
Actually my suggestion doesn't work that well, I forgot that the error observer is global ...
5 years, 9 months ago (2015-03-24 07:39:49 UTC) #8
Sam McNally
ping
5 years, 7 months ago (2015-05-11 23:32:03 UTC) #13
eroman
lgtm https://codereview.chromium.org/1017453005/diff/230001/net/proxy/proxy_resolver_error_observer_mojo.cc File net/proxy/proxy_resolver_error_observer_mojo.cc (right): https://codereview.chromium.org/1017453005/diff/230001/net/proxy/proxy_resolver_error_observer_mojo.cc#newcode29 net/proxy/proxy_resolver_error_observer_mojo.cc:29: FROM_HERE, base::Bind(&ProxyResolverErrorObserverMojo::OnPACScriptError, So the reason for this is ...
5 years, 7 months ago (2015-05-15 07:22:03 UTC) #14
Sam McNally
https://codereview.chromium.org/1017453005/diff/230001/net/proxy/proxy_resolver_error_observer_mojo.cc File net/proxy/proxy_resolver_error_observer_mojo.cc (right): https://codereview.chromium.org/1017453005/diff/230001/net/proxy/proxy_resolver_error_observer_mojo.cc#newcode29 net/proxy/proxy_resolver_error_observer_mojo.cc:29: FROM_HERE, base::Bind(&ProxyResolverErrorObserverMojo::OnPACScriptError, On 2015/05/15 07:22:03, eroman (sick slow) wrote: ...
5 years, 7 months ago (2015-05-15 09:44:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017453005/310001
5 years, 7 months ago (2015-05-15 12:02:16 UTC) #20
commit-bot: I haz the power
Committed patchset #10 (id:310001)
5 years, 7 months ago (2015-05-15 12:21:08 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 12:21:58 UTC) #22
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/359a8b7489247d20a4d83d5cc78ae684625f5f13
Cr-Commit-Position: refs/heads/master@{#330081}

Powered by Google App Engine
This is Rietveld 408576698