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

Unified Diff: mojo/shell/shell_application_delegate.cc

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
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/shell_application_delegate.h ('k') | mojo/shell/standalone/android/android_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell_application_delegate.cc
diff --git a/mojo/shell/shell_application_delegate.cc b/mojo/shell/shell_application_delegate.cc
index e472617e6a80bd285691154399ab0c129a0f71e6..dcac9deb1abd08d48c2084a652f96e4549bbf02c 100644
--- a/mojo/shell/shell_application_delegate.cc
+++ b/mojo/shell/shell_application_delegate.cc
@@ -10,7 +10,7 @@
#include "base/process/process.h"
#include "mojo/shell/application_manager.h"
-#include "mojo/shell/public/cpp/application_connection.h"
+#include "mojo/shell/public/cpp/connection.h"
#include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
namespace mojo {
@@ -23,14 +23,13 @@ ShellApplicationDelegate::~ShellApplicationDelegate() {}
void ShellApplicationDelegate::Initialize(Shell* shell, const std::string& url,
uint32_t id) {}
-bool ShellApplicationDelegate::AcceptConnection(
- ApplicationConnection* connection) {
+bool ShellApplicationDelegate::AcceptConnection(Connection* connection) {
connection->AddService<mojom::ApplicationManager>(this);
return true;
}
void ShellApplicationDelegate::Create(
- ApplicationConnection* connection,
+ Connection* connection,
InterfaceRequest<mojom::ApplicationManager> request) {
bindings_.AddBinding(this, std::move(request));
}
« no previous file with comments | « mojo/shell/shell_application_delegate.h ('k') | mojo/shell/standalone/android/android_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698