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

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

Issue 2179023004: Make Service own ServiceContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 95e287aa67bc9025866b347455d5a2768fe27380..7d74eaf4e9d45bf1bed4ac7b8fcfa939ecbd4634 100644
--- a/mash/example/window_type_launcher/window_type_launcher.h
+++ b/mash/example/window_type_launcher/window_type_launcher.h
@@ -30,9 +30,7 @@ class WindowTypeLauncher
private:
// shell::Service:
- void OnStart(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) override;
+ void OnStart(const shell::Identity& identity) override;
bool OnConnect(shell::Connection* connection) override;
// mash::mojom::Launchable:
@@ -42,7 +40,6 @@ class WindowTypeLauncher
void Create(const shell::Identity& remote_identity,
mash::mojom::LaunchableRequest request) override;
- shell::Connector* connector_ = nullptr;
mojo::BindingSet<mash::mojom::Launchable> bindings_;
std::vector<views::Widget*> windows_;
« no previous file with comments | « mash/example/window_type_launcher/main.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