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

Unified Diff: chrome/browser/ui/browser_command_controller.cc

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (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
Index: chrome/browser/ui/browser_command_controller.cc
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index 03fe121e4072afb4dd2fb65a04992227adc8c295..7cbbbdda1c0a4316021d2f42d0a6588a02284272 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -53,7 +53,7 @@
#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
-#include "content/public/common/mojo_shell_connection.h"
+#include "content/public/common/service_manager_connection.h"
#include "content/public/common/url_constants.h"
#include "extensions/browser/extension_system.h"
#include "mash/public/interfaces/launchable.mojom.h"
@@ -631,7 +631,7 @@ void BrowserCommandController::ExecuteCommandWithDisposition(
case IDC_TOUCH_HUD_PROJECTION_TOGGLE:
if (chrome::IsRunningInMash()) {
shell::Connector* connector =
- content::MojoShellConnection::GetForProcess()->GetConnector();
+ content::ServiceManagerConnection::GetForProcess()->GetConnector();
mash::mojom::LaunchablePtr launchable;
connector->ConnectToInterface("service:touch_hud", &launchable);
launchable->Launch(mash::mojom::kWindow,
« no previous file with comments | « chrome/browser/ui/ash/system_tray_client.cc ('k') | chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698