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

Unified Diff: mojo/shell/standalone/android/android_handler.h

Issue 1705323003: ContentHandler -> ShellClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delete
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/standalone/BUILD.gn ('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 70a246ff3072f491d7991f1bc0ac0aebc17ebb3d..2e1bad0386308b79c8a0f63f2dac0ca87e7ad75f 100644
--- a/mojo/shell/standalone/android/android_handler.h
+++ b/mojo/shell/standalone/android/android_handler.h
@@ -7,10 +7,10 @@
#include <jni.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"
+#include "mojo/shell/public/cpp/shell_client_factory.h"
+#include "mojo/shell/public/interfaces/shell_client_factory.mojom.h"
namespace base {
class FilePath;
@@ -20,7 +20,7 @@ namespace mojo {
namespace shell {
class AndroidHandler : public ShellClient,
- public ContentHandlerFactory::Delegate {
+ public ShellClientFactory::Delegate {
public:
AndroidHandler();
~AndroidHandler();
@@ -30,11 +30,11 @@ class AndroidHandler : public ShellClient,
void Initialize(Shell* shell, const std::string& url, uint32_t id) override;
bool AcceptConnection(Connection* connection) override;
- // ContentHandlerFactory::Delegate:
- void RunApplication(InterfaceRequest<mojom::ShellClient> request,
- URLResponsePtr response) override;
+ // ShellClientFactory::Delegate:
+ void CreateShellClient(mojom::ShellClientRequest request,
+ const GURL& url) override;
- ContentHandlerFactory content_handler_factory_;
+ ShellClientFactory shell_client_factory_;
MOJO_DISALLOW_COPY_AND_ASSIGN(AndroidHandler);
};
« no previous file with comments | « mojo/shell/standalone/BUILD.gn ('k') | mojo/shell/standalone/android/android_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698