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

Unified Diff: content/common/mojo/mojo_shell_connection_impl.h

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 | « content/browser/mojo_shell_browsertest.cc ('k') | content/common/mojo/mojo_shell_connection_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/mojo_shell_connection_impl.h
diff --git a/content/common/mojo/mojo_shell_connection_impl.h b/content/common/mojo/mojo_shell_connection_impl.h
index 24381385431aa127d2219155144b57f18fb8ea09..d85fe0e45a7d8471407f696fee7df0d2bf1a2a3d 100644
--- a/content/common/mojo/mojo_shell_connection_impl.h
+++ b/content/common/mojo/mojo_shell_connection_impl.h
@@ -11,7 +11,8 @@
#include "base/memory/scoped_ptr.h"
#include "content/public/common/mojo_shell_connection.h"
#include "mojo/public/cpp/system/message_pipe.h"
-#include "mojo/shell/public/cpp/application_delegate.h"
+#include "mojo/shell/public/cpp/application_impl.h"
+#include "mojo/shell/public/cpp/shell_client.h"
namespace mojo {
namespace shell {
@@ -25,7 +26,7 @@ namespace content {
bool IsRunningInMojoShell();
class MojoShellConnectionImpl : public MojoShellConnection,
- public mojo::ApplicationDelegate {
+ public mojo::ShellClient {
public:
// Creates an instance of this class and stuffs it in TLS on the calling
// thread. Retrieve it using MojoShellConnection::Get().
@@ -49,11 +50,10 @@ class MojoShellConnectionImpl : public MojoShellConnection,
MojoShellConnectionImpl();
~MojoShellConnectionImpl() override;
- // mojo::ApplicationDelegate:
+ // mojo::ShellClient:
void Initialize(mojo::Shell* shell, const std::string& url,
uint32_t id) override;
- bool AcceptConnection(
- mojo::ApplicationConnection* connection) override;
+ bool AcceptConnection(mojo::Connection* connection) override;
// MojoShellConnection:
mojo::Shell* GetShell() override;
« no previous file with comments | « content/browser/mojo_shell_browsertest.cc ('k') | content/common/mojo/mojo_shell_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698