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

Unified Diff: mojo/shell/standalone/android/android_handler.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 | « mojo/shell/shell_application_delegate.cc ('k') | mojo/shell/standalone/android/android_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/standalone/android/android_handler.h
diff --git a/mojo/shell/standalone/android/android_handler.h b/mojo/shell/standalone/android/android_handler.h
index e58d3bf640bcb6c5715c72e2d60471124b418011..ed8ad3eafc218a12f552c8c2b6a5742b52922a71 100644
--- a/mojo/shell/standalone/android/android_handler.h
+++ b/mojo/shell/standalone/android/android_handler.h
@@ -7,9 +7,9 @@
#include <jni.h>
-#include "mojo/shell/public/cpp/application_delegate.h"
#include "mojo/shell/public/cpp/content_handler_factory.h"
#include "mojo/shell/public/cpp/interface_factory_impl.h"
+#include "mojo/shell/public/cpp/shell_client.h"
#include "mojo/shell/public/interfaces/content_handler.mojom.h"
namespace base {
@@ -19,16 +19,16 @@ class FilePath;
namespace mojo {
namespace shell {
-class AndroidHandler : public ApplicationDelegate,
+class AndroidHandler : public ShellClient,
public ContentHandlerFactory::Delegate {
public:
AndroidHandler();
~AndroidHandler();
private:
- // ApplicationDelegate:
+ // mojo::ShellClient:
void Initialize(Shell* shell, const std::string& url, uint32_t id) override;
- bool AcceptConnection(ApplicationConnection* connection) override;
+ bool AcceptConnection(Connection* connection) override;
// ContentHandlerFactory::Delegate:
void RunApplication(InterfaceRequest<mojom::Application> application_request,
« no previous file with comments | « mojo/shell/shell_application_delegate.cc ('k') | mojo/shell/standalone/android/android_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698