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

Unified Diff: shell/application_manager/application_loader.h

Issue 868463008: Remove Client relationship between mojo.Shell/mojo.Application (Closed) Base URL: git@github.com:domokit/mojo.git@app_impl_init
Patch Set: fix android Created 5 years, 11 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
Index: shell/application_manager/application_loader.h
diff --git a/shell/application_manager/application_loader.h b/shell/application_manager/application_loader.h
index 2dfd2ad3df2fbd039a0b2a3b4fc0eeb253d89a48..b081819cd80e614fd6c9994f776d9dc760121493 100644
--- a/shell/application_manager/application_loader.h
+++ b/shell/application_manager/application_loader.h
@@ -14,6 +14,7 @@
namespace mojo {
+class Application;
class ApplicationManager;
// Interface to allowing loading behavior to be established for schemes,
@@ -25,8 +26,9 @@ class ApplicationManager;
// apps and services.
class MOJO_APPLICATION_MANAGER_EXPORT ApplicationLoader {
public:
- typedef base::Callback<
- void(const GURL&, ScopedMessagePipeHandle, URLResponsePtr)> LoadCallback;
+ typedef base::Callback<void(const GURL& content_handler_url,
+ InterfaceRequest<Application> application_request,
+ URLResponsePtr url_request)> LoadCallback;
virtual ~ApplicationLoader() {}
// Returns a callback that will should never be called.
@@ -43,7 +45,7 @@ class MOJO_APPLICATION_MANAGER_EXPORT ApplicationLoader {
// must implement the mojo.ContentHandler interface.
virtual void Load(ApplicationManager* application_manager,
const GURL& url,
- ShellPtr shell,
+ InterfaceRequest<Application> application_request,
LoadCallback callback) = 0;
// Called when the Application exits.

Powered by Google App Engine
This is Rietveld 408576698