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

Unified Diff: mash/init/init.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
« no previous file with comments | « mash/example/window_type_launcher/window_type_launcher.cc ('k') | mash/init/init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/init/init.h
diff --git a/mash/init/init.h b/mash/init/init.h
index a300cb01b729339612ef3cfb3ff8d599443c8e4c..e54a16813fb4d024d98ff57de73123fc36c7224f 100644
--- a/mash/init/init.h
+++ b/mash/init/init.h
@@ -31,9 +31,7 @@ class Init : public shell::Service,
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;
// shell::InterfaceFactory<mojom::Login>:
@@ -50,7 +48,6 @@ class Init : public shell::Service,
void StartTracing();
void StartLogin();
- shell::Connector* connector_;
std::unique_ptr<shell::Connection> login_connection_;
mojo::BindingSet<mojom::Init> init_bindings_;
std::map<std::string, std::unique_ptr<shell::Connection>> user_services_;
« no previous file with comments | « mash/example/window_type_launcher/window_type_launcher.cc ('k') | mash/init/init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698