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

Unified Diff: mash/init/init.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/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 e1987a9b6aceee26d8a723cd30d59915be7b568b..71782d256aaef3d81ccf456e0e504dbc3a0d298b 100644
--- a/mash/init/init.h
+++ b/mash/init/init.h
@@ -18,7 +18,6 @@
namespace service_manager {
class Connection;
-class ServiceContext;
}
namespace mash {
@@ -33,7 +32,7 @@ class Init : 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;
@@ -51,8 +50,6 @@ class Init : public service_manager::Service,
void StartTracing();
void StartLogin();
- service_manager::ServiceContext* context_ = nullptr;
-
std::unique_ptr<service_manager::Connection> login_connection_;
mojo::BindingSet<mojom::Init> init_bindings_;
std::map<std::string, std::unique_ptr<service_manager::Connection>>
« 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