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

Unified Diff: mojo/shell/public/cpp/content_handler_factory.h

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (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/public/cpp/application_impl.h ('k') | mojo/shell/public/cpp/lib/application_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/content_handler_factory.h
diff --git a/mojo/shell/public/cpp/content_handler_factory.h b/mojo/shell/public/cpp/content_handler_factory.h
index 4bcb81e5a3962c0ce30fb8f36fe0eb6dbad5b5cb..a8aa8c360769fa13defd536441c44e91872414d8 100644
--- a/mojo/shell/public/cpp/content_handler_factory.h
+++ b/mojo/shell/public/cpp/content_handler_factory.h
@@ -14,7 +14,8 @@
namespace mojo {
-class ContentHandlerFactory : public InterfaceFactory<ContentHandler> {
+class ContentHandlerFactory
+ : public InterfaceFactory<shell::mojom::ContentHandler> {
public:
class HandledApplicationHolder {
public:
@@ -27,7 +28,7 @@ class ContentHandlerFactory : public InterfaceFactory<ContentHandler> {
// Implement this method to create the Application. This method will be
// called on a new thread. Leaving this method will quit the application.
virtual void RunApplication(
- InterfaceRequest<Application> application_request,
+ InterfaceRequest<shell::mojom::Application> application_request,
URLResponsePtr response) = 0;
};
@@ -39,12 +40,13 @@ class ContentHandlerFactory : public InterfaceFactory<ContentHandler> {
// on this new thread, and the returned value will be kept alive until the
// application ends.
virtual scoped_ptr<HandledApplicationHolder> CreateApplication(
- InterfaceRequest<Application> application_request,
+ InterfaceRequest<shell::mojom::Application> application_request,
URLResponsePtr response) = 0;
private:
- void RunApplication(InterfaceRequest<Application> application_request,
- URLResponsePtr response) override;
+ void RunApplication(
+ InterfaceRequest<shell::mojom::Application> application_request,
+ URLResponsePtr response) override;
};
explicit ContentHandlerFactory(Delegate* delegate);
@@ -53,7 +55,7 @@ class ContentHandlerFactory : public InterfaceFactory<ContentHandler> {
private:
// From InterfaceFactory:
void Create(ApplicationConnection* connection,
- InterfaceRequest<ContentHandler> request) override;
+ InterfaceRequest<shell::mojom::ContentHandler> request) override;
Delegate* delegate_;
« no previous file with comments | « mojo/shell/public/cpp/application_impl.h ('k') | mojo/shell/public/cpp/lib/application_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698