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

Unified Diff: services/ui/demo/mus_demo.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 | « services/shell/tests/shutdown/shutdown_service_app.cc ('k') | services/ui/demo/mus_demo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/mus_demo.h
diff --git a/services/ui/demo/mus_demo.h b/services/ui/demo/mus_demo.h
index 65d285a1ee5ca2eebc942e8133bc4cdb890b150b..8957cc4f54fa4eeaa69a26ed8bfe70836ec81fe5 100644
--- a/services/ui/demo/mus_demo.h
+++ b/services/ui/demo/mus_demo.h
@@ -35,9 +35,7 @@ class MusDemo : 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;
// WindowTreeClientDelegate:
@@ -69,8 +67,6 @@ class MusDemo : public shell::Service,
// Draws one frame, incrementing the rotation angle.
void DrawFrame();
- shell::Connector* connector_ = nullptr;
-
Window* window_ = nullptr;
WindowTreeClient* window_tree_client_ = nullptr;
« no previous file with comments | « services/shell/tests/shutdown/shutdown_service_app.cc ('k') | services/ui/demo/mus_demo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698