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

Unified Diff: ash/autoclick/mus/autoclick_application.cc

Issue 2435153004: Change Service contract to pass ServiceInfo instead of Identity (Closed)
Patch Set: . Created 4 years, 2 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/autoclick/mus/autoclick_application.h ('k') | ash/mus/window_manager_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/autoclick/mus/autoclick_application.cc
diff --git a/ash/autoclick/mus/autoclick_application.cc b/ash/autoclick/mus/autoclick_application.cc
index 160000c82f4b2540057c8ccb33570b2757cef856..08d0788be29a42fb73b66bf1bf7436fafed726c1 100644
--- a/ash/autoclick/mus/autoclick_application.cc
+++ b/ash/autoclick/mus/autoclick_application.cc
@@ -75,16 +75,16 @@ AutoclickApplication::AutoclickApplication()
AutoclickApplication::~AutoclickApplication() {}
-void AutoclickApplication::OnStart(const service_manager::Identity& identity) {
+void AutoclickApplication::OnStart(const service_manager::ServiceInfo& info) {
aura_init_.reset(new views::AuraInit(connector(), "views_mus_resources.pak"));
window_manager_connection_ =
- views::WindowManagerConnection::Create(connector(), identity);
+ views::WindowManagerConnection::Create(connector(), info.identity);
autoclick_controller_common_.reset(new AutoclickControllerCommon(
base::TimeDelta::FromMilliseconds(kDefaultAutoclickDelayMs), this));
}
bool AutoclickApplication::OnConnect(
- const service_manager::Identity& remote_identity,
+ const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) {
registry->AddInterface<mash::mojom::Launchable>(this);
registry->AddInterface<mojom::AutoclickController>(this);
« no previous file with comments | « ash/autoclick/mus/autoclick_application.h ('k') | ash/mus/window_manager_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698