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

Issue 1806843005: Promote {Add,Clear}ServiceOverrideForTesting to ServiceRegistry public interface. (Closed)

Created:
4 years, 9 months ago by leonhsl(Using Gerrit)
Modified:
4 years, 9 months ago
Reviewers:
jam
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Promote {Add,Clear}ServiceOverrideForTesting to ServiceRegistry public interface. Currently {Add,Clear}ServiceOverrideForTesting are only visible from ServiceRegistryImpl, so they can't be employed by mojo interfaces testing code from outside of //content. This CL promotes them to ServiceRegistry public interface to solve the problem. BUG=none Committed: https://crrev.com/94f8dd35588166f03a064f826fe35fd636d59337 Cr-Commit-Position: refs/heads/master@{#382190}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -17 lines) Patch
M content/common/mojo/service_registry_impl.h View 1 chunk +4 lines, -7 lines 0 comments Download
M content/common/mojo/service_registry_impl.cc View 2 chunks +10 lines, -10 lines 0 comments Download
M content/public/common/service_registry.h View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1806843005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1806843005/1
4 years, 9 months ago (2016-03-18 05:41:16 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 07:15:20 UTC) #4
leonhsl(Using Gerrit)
Would you PTAL, Thanks~
4 years, 9 months ago (2016-03-18 10:36:15 UTC) #6
jam
lgtm https://codereview.chromium.org/1806843005/diff/1/content/public/common/service_registry.h File content/public/common/service_registry.h (right): https://codereview.chromium.org/1806843005/diff/1/content/public/common/service_registry.h#newcode71 content/public/common/service_registry.h:71: virtual void ClearServiceOverridesForTesting() = 0; nit: document
4 years, 9 months ago (2016-03-18 17:01:13 UTC) #7
leonhsl(Using Gerrit)
Thanks a lot! Addressed nit and will land. Thanks~ https://codereview.chromium.org/1806843005/diff/1/content/public/common/service_registry.h File content/public/common/service_registry.h (right): https://codereview.chromium.org/1806843005/diff/1/content/public/common/service_registry.h#newcode71 content/public/common/service_registry.h:71: ...
4 years, 9 months ago (2016-03-19 05:05:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1806843005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1806843005/20001
4 years, 9 months ago (2016-03-19 05:05:41 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-19 06:40:51 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-19 06:53:41 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/94f8dd35588166f03a064f826fe35fd636d59337
Cr-Commit-Position: refs/heads/master@{#382190}

Powered by Google App Engine
This is Rietveld 408576698