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

Unified Diff: mash/task_viewer/task_viewer.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/session/session.cc ('k') | mash/task_viewer/task_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/task_viewer/task_viewer.h
diff --git a/mash/task_viewer/task_viewer.h b/mash/task_viewer/task_viewer.h
index 120ada9ff53bb0058b5983bac4e8c8c91ccb312b..7aa105825390299405a55f973102c0800376e4fb 100644
--- a/mash/task_viewer/task_viewer.h
+++ b/mash/task_viewer/task_viewer.h
@@ -35,9 +35,7 @@ class TaskViewer : 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::Launchable:
@@ -47,7 +45,6 @@ class TaskViewer : public shell::Service,
void Create(const shell::Identity& remote_identity,
mojom::LaunchableRequest request) override;
- shell::Connector* connector_ = nullptr;
mojo::BindingSet<mojom::Launchable> bindings_;
std::vector<views::Widget*> windows_;
« no previous file with comments | « mash/session/session.cc ('k') | mash/task_viewer/task_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698