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/session/session.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/screenlock/screenlock.cc ('k') | mash/session/session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/session/session.h
diff --git a/mash/session/session.h b/mash/session/session.h
index 268aece1c1dd36c9991fbc02aa9b5fc9721fd618..a48e889c703ca924751772a084f16d54a8f2f6bb 100644
--- a/mash/session/session.h
+++ b/mash/session/session.h
@@ -32,9 +32,7 @@ class Session : 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;
// mojom::Session:
@@ -62,7 +60,6 @@ class Session : public shell::Service,
void StartRestartableService(const std::string& url,
const base::Closure& restart_callback);
- shell::Connector* connector_;
std::map<std::string, std::unique_ptr<shell::Connection>> connections_;
bool screen_locked_;
mojo::BindingSet<mojom::Session> bindings_;
« no previous file with comments | « mash/screenlock/screenlock.cc ('k') | mash/session/session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698