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

Unified Diff: mash/session/session.h

Issue 2487573002: Service Manager: Remove ServiceContext* arg from Service::OnStart() (Closed)
Patch Set: rebase Created 4 years, 1 month 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 211387332757bece569bbe2760bf24ce3a8da958..576492b102c1668fe2e33a710e3e8665b6c6e348 100644
--- a/mash/session/session.h
+++ b/mash/session/session.h
@@ -18,7 +18,6 @@
namespace service_manager {
class Connection;
-class ServiceContext;
}
namespace mash {
@@ -33,7 +32,7 @@ class Session : public service_manager::Service,
private:
// service_manager::Service:
- void OnStart(service_manager::ServiceContext* context) override;
+ void OnStart() override;
bool OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) override;
@@ -60,8 +59,6 @@ class Session : public service_manager::Service,
void StartRestartableService(const std::string& url,
const base::Closure& restart_callback);
- service_manager::ServiceContext* context_ = nullptr;
-
std::map<std::string, std::unique_ptr<service_manager::Connection>>
connections_;
bool screen_locked_;
« 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