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

Unified Diff: shell/application_manager/application_loader.h

Issue 873453004: Use ShellPtr type in ApplicationLoader instead of untyped handles (Closed) Base URL: git@github.com:domokit/mojo.git@master
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
« no previous file with comments | « shell/android/ui_application_loader_android.cc ('k') | shell/application_manager/application_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/application_loader.h
diff --git a/shell/application_manager/application_loader.h b/shell/application_manager/application_loader.h
index 7dffe0ab63df95a712f243787ea6ddcf668832f0..2dfd2ad3df2fbd039a0b2a3b4fc0eeb253d89a48 100644
--- a/shell/application_manager/application_loader.h
+++ b/shell/application_manager/application_loader.h
@@ -7,6 +7,7 @@
#include "base/callback.h"
#include "mojo/public/cpp/system/core.h"
+#include "mojo/public/interfaces/application/shell.mojom.h"
#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
#include "shell/application_manager/application_manager_export.h"
#include "url/gurl.h"
@@ -42,7 +43,7 @@ class MOJO_APPLICATION_MANAGER_EXPORT ApplicationLoader {
// must implement the mojo.ContentHandler interface.
virtual void Load(ApplicationManager* application_manager,
const GURL& url,
- ScopedMessagePipeHandle shell_handle,
+ ShellPtr shell,
LoadCallback callback) = 0;
// Called when the Application exits.
« no previous file with comments | « shell/android/ui_application_loader_android.cc ('k') | shell/application_manager/application_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698