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

Unified Diff: mojo/shell/connect_util.cc

Issue 1764253002: Rename shell.mojom to connector.mojom, ApplicationManager to Shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@32exe
Patch Set: . Created 4 years, 10 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 | « mojo/shell/connect_util.h ('k') | mojo/shell/identity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/connect_util.cc
diff --git a/mojo/shell/connect_util.cc b/mojo/shell/connect_util.cc
index c2a972df7d016298b8d3b8d2b1584db09b0da02d..e5210c69b7921f70ca885a9b4268f806a5bf8a88 100644
--- a/mojo/shell/connect_util.cc
+++ b/mojo/shell/connect_util.cc
@@ -6,14 +6,14 @@
#include <utility>
-#include "mojo/shell/application_manager.h"
#include "mojo/shell/connect_params.h"
+#include "mojo/shell/shell.h"
namespace mojo {
namespace shell {
ScopedMessagePipeHandle ConnectToInterfaceByName(
- ApplicationManager* application_manager,
+ Shell* shell,
const Identity& source,
const Identity& target,
const std::string& interface_name) {
@@ -22,7 +22,7 @@ ScopedMessagePipeHandle ConnectToInterfaceByName(
params->set_source(source);
params->set_target(target);
params->set_remote_interfaces(GetProxy(&remote_interfaces));
- application_manager->Connect(std::move(params));
+ shell->Connect(std::move(params));
MessagePipe pipe;
remote_interfaces->GetInterface(interface_name, std::move(pipe.handle1));
return std::move(pipe.handle0);
« no previous file with comments | « mojo/shell/connect_util.h ('k') | mojo/shell/identity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698