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

Unified Diff: mash/example/window_type_launcher/window_type_launcher.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mash/example/window_type_launcher/window_type_launcher.h
diff --git a/mash/example/window_type_launcher/window_type_launcher.h b/mash/example/window_type_launcher/window_type_launcher.h
index d19e752dbbdb2cd63ab29d0c5eb3b4ebb9d3442c..f176bd2a0aa39440110703d4d03ad9b00947b858 100644
--- a/mash/example/window_type_launcher/window_type_launcher.h
+++ b/mash/example/window_type_launcher/window_type_launcher.h
@@ -19,9 +19,9 @@ class WindowManagerConnection;
}
class WindowTypeLauncher
- : public shell::Service,
+ : public service_manager::Service,
public mash::mojom::Launchable,
- public shell::InterfaceFactory<mash::mojom::Launchable> {
+ public service_manager::InterfaceFactory<mash::mojom::Launchable> {
public:
WindowTypeLauncher();
~WindowTypeLauncher() override;
@@ -29,16 +29,16 @@ class WindowTypeLauncher
void RemoveWindow(views::Widget* window);
private:
- // shell::Service:
- void OnStart(const shell::Identity& identity) override;
- bool OnConnect(const shell::Identity& remote_identity,
- shell::InterfaceRegistry* registry) override;
+ // service_manager::Service:
+ void OnStart(const service_manager::Identity& identity) override;
+ bool OnConnect(const service_manager::Identity& remote_identity,
+ service_manager::InterfaceRegistry* registry) override;
// mash::mojom::Launchable:
void Launch(uint32_t what, mash::mojom::LaunchMode how) override;
- // shell::InterfaceFactory<mash::mojom::Launchable>:
- void Create(const shell::Identity& remote_identity,
+ // service_manager::InterfaceFactory<mash::mojom::Launchable>:
+ void Create(const service_manager::Identity& remote_identity,
mash::mojom::LaunchableRequest request) override;
mojo::BindingSet<mash::mojom::Launchable> bindings_;
« no previous file with comments | « mash/example/views_examples/views_examples.cc ('k') | mash/example/window_type_launcher/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698