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

Unified Diff: mash/session/session.cc

Issue 2804373002: Eliminate Connector::Connect(), Connection, etc. (Closed)
Patch Set: . Created 3 years, 8 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/example/window_type_launcher/window_type_launcher.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/session/session.cc
diff --git a/mash/session/session.cc b/mash/session/session.cc
index d00e7ecbb77679265859d0cba8bd30d236f69acb..d02dabbb1e66a1ed13abcd98f8c4625c4d98c352 100644
--- a/mash/session/session.cc
+++ b/mash/session/session.cc
@@ -24,19 +24,20 @@ void Session::OnStart() {
StartQuickLaunch();
// Launch a chrome window for dev convience; don't do this in the long term.
- context()->connector()->Connect(content::mojom::kPackagedServicesServiceName);
+ context()->connector()->StartService(
+ content::mojom::kPackagedServicesServiceName);
}
void Session::StartWindowManager() {
// TODO(beng): monitor this service for death & bring down the whole system
// if necessary.
- context()->connector()->Connect(common::GetWindowManagerServiceName());
+ context()->connector()->StartService(common::GetWindowManagerServiceName());
}
void Session::StartQuickLaunch() {
// TODO(beng): monitor this service for death & bring down the whole system
// if necessary.
- context()->connector()->Connect(quick_launch::mojom::kServiceName);
+ context()->connector()->StartService(quick_launch::mojom::kServiceName);
}
} // namespace session
« no previous file with comments | « mash/example/window_type_launcher/window_type_launcher.cc ('k') | mash/task_viewer/task_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698