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

Issue 298653010: Change Shell / ShellClient to ServiceProvider (Closed)

Created:
6 years, 7 months ago by DaveMoore
Modified:
6 years, 6 months ago
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
Visibility:
Public.

Description

Change Shell / ShellClient to ServiceProvider BUG= R=darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272983

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Cleanup #

Patch Set 4 : Make content work #

Patch Set 5 : Support content Mojo stuff #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -652 lines) Patch
M content/browser/mojo/mojo_application_host.h View 1 2 3 2 chunks +11 lines, -9 lines 0 comments Download
M content/browser/mojo/mojo_application_host.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/child/child_thread.h View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M content/child/child_thread.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/child/mojo/mojo_application.h View 1 2 3 2 chunks +7 lines, -5 lines 0 comments Download
M content/child/mojo/mojo_application.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M content/content_app.gypi View 1 chunk +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 chunk +1 line, -1 line 0 comments Download
M content/content_child.gypi View 1 chunk +1 line, -1 line 0 comments Download
M content/content_gpu.gypi View 1 chunk +1 line, -1 line 0 comments Download
M content/content_plugin.gypi View 1 chunk +1 line, -1 line 0 comments Download
M content/content_ppapi_plugin.gypi View 1 chunk +1 line, -1 line 0 comments Download
M content/content_renderer.gypi View 2 chunks +2 lines, -2 lines 0 comments Download
M content/content_utility.gypi View 1 chunk +1 line, -1 line 0 comments Download
M content/content_worker.gypi View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/apps/js/main.js View 5 chunks +10 lines, -7 lines 0 comments Download
M mojo/dbus/dbus_external_service.h View 2 chunks +5 lines, -4 lines 0 comments Download
M mojo/dbus/dbus_external_service.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/examples/aura_demo/aura_demo.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M mojo/examples/compositor_app/compositor_app.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M mojo/examples/dbus_echo/dbus_echo_app.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M mojo/examples/launcher/launcher.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M mojo/examples/pepper_container_app/pepper_container_app.cc View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M mojo/examples/sample_app/sample_app.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M mojo/examples/sample_view_manager_app/sample_view_manager_app.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M mojo/mojo.gyp View 1 2 3 4 8 chunks +8 lines, -8 lines 0 comments Download
M mojo/mojo_examples.gypi View 7 chunks +7 lines, -7 lines 0 comments Download
M mojo/mojo_public.gypi View 2 chunks +10 lines, -10 lines 0 comments Download
M mojo/mojo_services.gypi View 5 chunks +5 lines, -5 lines 0 comments Download
A + mojo/public/cpp/application/DEPS View 1 chunk +1 line, -1 line 0 comments Download
A + mojo/public/cpp/application/application.h View 5 chunks +15 lines, -14 lines 0 comments Download
A mojo/public/cpp/application/connect.h View 1 chunk +26 lines, -0 lines 0 comments Download
A + mojo/public/cpp/application/lib/application.cc View 1 2 chunks +9 lines, -8 lines 0 comments Download
A + mojo/public/cpp/application/lib/service_connector.h View 5 chunks +11 lines, -11 lines 0 comments Download
A + mojo/public/cpp/application/lib/service_connector.cc View 1 chunk +5 lines, -4 lines 0 comments Download
D mojo/public/cpp/shell/DEPS View 1 chunk +0 lines, -4 lines 0 comments Download
D mojo/public/cpp/shell/application.h View 1 chunk +0 lines, -93 lines 0 comments Download
D mojo/public/cpp/shell/connect.h View 1 chunk +0 lines, -25 lines 0 comments Download
D mojo/public/cpp/shell/lib/application.cc View 1 chunk +0 lines, -54 lines 0 comments Download
D mojo/public/cpp/shell/lib/service_connector.h View 1 chunk +0 lines, -141 lines 0 comments Download
D mojo/public/cpp/shell/lib/service_connector.cc View 1 chunk +0 lines, -20 lines 0 comments Download
A + mojo/public/interfaces/service_provider/service_provider.mojom View 1 chunk +3 lines, -7 lines 1 comment Download
D mojo/public/interfaces/shell/shell.mojom View 1 chunk +0 lines, -18 lines 0 comments Download
M mojo/service_manager/background_service_loader.h View 1 chunk +4 lines, -3 lines 0 comments Download
M mojo/service_manager/background_service_loader.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M mojo/service_manager/service_loader.h View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/service_manager/service_manager.h View 4 chunks +6 lines, -6 lines 0 comments Download
M mojo/service_manager/service_manager.cc View 5 chunks +22 lines, -20 lines 0 comments Download
M mojo/service_manager/service_manager_unittest.cc View 1 2 3 4 5 chunks +13 lines, -11 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_service.h View 1 chunk +4 lines, -3 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_service.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_private.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view_manager.h View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/services/view_manager/main.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M mojo/services/view_manager/root_node_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/services/view_manager/root_node_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/view_manager/root_view_manager.h View 3 chunks +4 lines, -3 lines 0 comments Download
M mojo/services/view_manager/root_view_manager.cc View 2 chunks +8 lines, -5 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection_unittest.cc View 1 2 3 4 3 chunks +7 lines, -3 lines 0 comments Download
M mojo/shell/android/mojo_main.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/context.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/dbus_service_loader_linux.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M mojo/shell/dbus_service_loader_linux.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M mojo/shell/dynamic_service_loader.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M mojo/shell/dynamic_service_runner.h View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/external_service.mojom View 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/run.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/shell_test_helper.h View 1 2 3 4 4 chunks +13 lines, -11 lines 0 comments Download
M mojo/shell/shell_test_helper.cc View 4 chunks +20 lines, -17 lines 0 comments Download
M mojo/shell/view_manager_loader.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
M mojo/shell/view_manager_loader.cc View 2 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
DaveMoore
Cleanup
6 years, 7 months ago (2014-05-23 20:05:44 UTC) #1
DaveMoore
This change only does the rename and merging of Shell / ShellClient into ServiceProvider. Subsequent ...
6 years, 7 months ago (2014-05-23 20:06:55 UTC) #2
DaveMoore
Cleanup
6 years, 7 months ago (2014-05-23 20:20:02 UTC) #3
DaveMoore
Make content work
6 years, 7 months ago (2014-05-23 22:13:00 UTC) #4
DaveMoore
Support content Mojo stuff
6 years, 7 months ago (2014-05-23 22:24:57 UTC) #5
darin (slow to review)
LGTM https://codereview.chromium.org/298653010/diff/80001/mojo/public/interfaces/service_provider/service_provider.mojom File mojo/public/interfaces/service_provider/service_provider.mojom (right): https://codereview.chromium.org/298653010/diff/80001/mojo/public/interfaces/service_provider/service_provider.mojom#newcode7 mojo/public/interfaces/service_provider/service_provider.mojom:7: [Client=ServiceProvider] It'd be good to add some documentation ...
6 years, 7 months ago (2014-05-24 03:15:01 UTC) #6
DaveMoore
The CQ bit was checked by davemoore@chromium.org
6 years, 7 months ago (2014-05-26 01:11:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davemoore@chromium.org/298653010/80001
6 years, 7 months ago (2014-05-26 01:11:27 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 01:16:52 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 01:21:15 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/18566)
6 years, 7 months ago (2014-05-26 01:21:15 UTC) #11
DaveMoore
Committed patchset #5 manually as r272983 (presubmit successful).
6 years, 7 months ago (2014-05-27 15:51:06 UTC) #12
tim (not reviewing)
6 years, 6 months ago (2014-06-17 02:34:59 UTC) #13
Message was sent while issue was closed.
On 2014/05/24 03:15:01, darin wrote:
> LGTM
> 
>
https://codereview.chromium.org/298653010/diff/80001/mojo/public/interfaces/s...
> File mojo/public/interfaces/service_provider/service_provider.mojom (right):
> 
>
https://codereview.chromium.org/298653010/diff/80001/mojo/public/interfaces/s...
> mojo/public/interfaces/service_provider/service_provider.mojom:7:
> [Client=ServiceProvider]
> It'd be good to add some documentation here to explain what it means for SP to
> be a client of itself.

^^^ I'm having a bit of trouble following this actually.  When the
ServiceManager loads a service, it creates and binds a ServiceFactory to a pipe
and passes the other end to the ServiceProvider client's ConnectToService...
what's happening here?

Powered by Google App Engine
This is Rietveld 408576698