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

Unified Diff: ash/sysui/sysui_application.cc

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 | « ash/sysui/sysui_application.h ('k') | ash/touch_hud/mus/touch_hud_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/sysui_application.cc
diff --git a/ash/sysui/sysui_application.cc b/ash/sysui/sysui_application.cc
index fd1edb8fb051a095294bfaabaf47c575300806ec..655d5038ce71db068eea3eec65d764f2e652e4f2 100644
--- a/ash/sysui/sysui_application.cc
+++ b/ash/sysui/sysui_application.cc
@@ -313,14 +313,12 @@ SysUIApplication::SysUIApplication() {}
SysUIApplication::~SysUIApplication() {}
-void SysUIApplication::OnStart(::shell::Connector* connector,
- const ::shell::Identity& identity,
- uint32_t id) {
+void SysUIApplication::OnStart(const ::shell::Identity& identity) {
ash_init_.reset(new AshInit());
- ash_init_->Initialize(connector, identity);
+ ash_init_->Initialize(connector(), identity);
ui::mojom::InputDeviceServerPtr server;
- connector->ConnectToInterface("mojo:ui", &server);
+ connector()->ConnectToInterface("mojo:ui", &server);
input_device_client_.Connect(std::move(server));
}
« no previous file with comments | « ash/sysui/sysui_application.h ('k') | ash/touch_hud/mus/touch_hud_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698