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

Unified Diff: mash/webtest/webtest.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/task_viewer/task_viewer.cc ('k') | mash/webtest/webtest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/webtest/webtest.h
diff --git a/mash/webtest/webtest.h b/mash/webtest/webtest.h
index d5012e374d1d7ad43c1070ad5847b417328d9177..3a54053a22769cbbcdc6892086fef8b8ce00ad55 100644
--- a/mash/webtest/webtest.h
+++ b/mash/webtest/webtest.h
@@ -14,10 +14,6 @@
#include "services/service_manager/public/cpp/service.h"
#include "services/tracing/public/cpp/provider.h"
-namespace service_manager {
-class ServiceContext;
-}
-
namespace views {
class AuraInit;
class Widget;
@@ -39,7 +35,7 @@ class Webtest : 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;
@@ -50,8 +46,6 @@ class Webtest : public service_manager::Service,
void Create(const service_manager::Identity& remote_identity,
mojom::LaunchableRequest request) override;
- service_manager::ServiceContext* context_ = nullptr;
-
mojo::BindingSet<mojom::Launchable> bindings_;
std::vector<views::Widget*> windows_;
« no previous file with comments | « mash/task_viewer/task_viewer.cc ('k') | mash/webtest/webtest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698