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

Issue 1470153002: [mojo] Enable ServiceRegistryImpl to override remote services (Closed)

Created:
5 years, 1 month ago by Ken Rockot(use gerrit already)
Modified:
4 years, 10 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blink-reviews, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@usb-testing-3
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mojo] Enable ServiceRegistryImpl to override remote services This adds a new AddServiceOverride method to ServiceRegistryImpl. The purpose of this is to allow testing code to intercept remote service connections and opaquely provide a mock implementation of any service. The new interface is also added to the ServiceRegistry's JS bindings. Committed: https://crrev.com/9b0d7173af550086d5688137752a6f70109e9c98 Cr-Commit-Position: refs/heads/master@{#371736}

Patch Set 1 #

Patch Set 2 : update parent #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : rebase #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Total comments: 2

Patch Set 11 : AddServiceOverride => AddServiceOverrideForTesting #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -11 lines) Patch
M content/common/mojo/service_registry_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -4 lines 0 comments Download
M content/common/mojo/service_registry_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +14 lines, -5 lines 0 comments Download
M content/renderer/mojo/service_registry_js_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -1 line 0 comments Download
M content/renderer/mojo/service_registry_js_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +32 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/harness-tests/mojo-helpers.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +55 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/resources/mojo-helpers.js View 1 2 3 4 5 6 7 8 9 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Ken Rockot(use gerrit already)
4 years, 11 months ago (2016-01-26 16:24:42 UTC) #5
jam
lgtm for code outside blink. a blink reviewer should review the other parts https://codereview.chromium.org/1470153002/diff/180001/content/common/mojo/service_registry_impl.h File ...
4 years, 11 months ago (2016-01-26 23:04:19 UTC) #6
Ken Rockot(use gerrit already)
Thanks. Reilly would you mind taking a look at the layout test code? https://codereview.chromium.org/1470153002/diff/180001/content/common/mojo/service_registry_impl.h File ...
4 years, 11 months ago (2016-01-26 23:58:07 UTC) #8
Reilly Grant (use Gerrit)
Layout tests LGTM.
4 years, 11 months ago (2016-01-27 01:11:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1470153002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1470153002/220001
4 years, 11 months ago (2016-01-27 03:56:59 UTC) #12
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 11 months ago (2016-01-27 05:21:27 UTC) #13
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/9b0d7173af550086d5688137752a6f70109e9c98 Cr-Commit-Position: refs/heads/master@{#371736}
4 years, 11 months ago (2016-01-27 05:22:18 UTC) #15
Noel Gordon
No BUG=
4 years, 10 months ago (2016-01-28 06:58:27 UTC) #16
Noel Gordon
On 2016/01/28 06:58:27, noel gordon wrote: > No BUG= Leaks on Oilpan as an FYI. ...
4 years, 10 months ago (2016-01-28 06:59:12 UTC) #17
Noel Gordon
4 years, 10 months ago (2016-01-28 08:28:49 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #12 id:220001) has been created in
https://codereview.chromium.org/1639233004/ by noel@chromium.org.

The reason for reverting is: Causing Oilpan leak bot failure

https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Leak/b...
.

Powered by Google App Engine
This is Rietveld 408576698