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

Unified Diff: services/service_manager/public/cpp/service_context.h

Issue 2486073003: Revert of Service Manager: Implement graceful service termination (Closed)
Patch Set: 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
Index: services/service_manager/public/cpp/service_context.h
diff --git a/services/service_manager/public/cpp/service_context.h b/services/service_manager/public/cpp/service_context.h
index 20e11e2c4adef8973c4fece0ba4026add184dd47..f560ad5e21a1e61dd5956d743e6bb1599f2e0a0d 100644
--- a/services/service_manager/public/cpp/service_context.h
+++ b/services/service_manager/public/cpp/service_context.h
@@ -17,7 +17,6 @@
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/interfaces/connector.mojom.h"
#include "services/service_manager/public/interfaces/service.mojom.h"
-#include "services/service_manager/public/interfaces/service_control.mojom.h"
namespace service_manager {
@@ -110,8 +109,7 @@
void OnStart(const ServiceInfo& info,
const OnStartCallback& callback) override;
void OnConnect(const ServiceInfo& source_info,
- mojom::InterfaceProviderRequest interfaces,
- const OnConnectCallback& callback) override;
+ mojom::InterfaceProviderRequest interfaces) override;
void OnConnectionError();
void OnRegistryConnectionError(InterfaceRegistry* registry);
@@ -130,10 +128,6 @@
std::unique_ptr<Connector> connector_;
service_manager::ServiceInfo local_info_;
- // This instance's control interface to the service manager. Note that this
- // is unbound and therefore invalid until OnStart() is called.
- mojom::ServiceControlAssociatedPtr service_control_;
-
bool service_quit_ = false;
base::Closure connection_lost_closure_;
« no previous file with comments | « services/service_manager/public/cpp/lib/service_context.cc ('k') | services/service_manager/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698