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: shell/android/ui_application_loader_android.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/native_viewport_application_loader.cc ('k') | shell/android/ui_application_loader_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/ui_application_loader_android.h
diff --git a/shell/android/ui_application_loader_android.h b/shell/android/ui_application_loader_android.h
index 26ac13b52f79ff817be7e76c6a2bfdbbd9c5f9bc..a40a41a702949a4377757eda4f911a9a4fcba1a7 100644
--- a/shell/android/ui_application_loader_android.h
+++ b/shell/android/ui_application_loader_android.h
@@ -29,7 +29,7 @@ class UIApplicationLoader : public ApplicationLoader {
// ApplicationLoader overrides:
void Load(ApplicationManager* manager,
const GURL& url,
- ScopedMessagePipeHandle shell_handle,
+ ShellPtr shell,
LoadCallback callback) override;
void OnApplicationError(ApplicationManager* manager,
const GURL& url) override;
@@ -43,7 +43,7 @@ class UIApplicationLoader : public ApplicationLoader {
// isn't thread safe).
void LoadOnUIThread(ApplicationManager* manager,
const GURL& url,
- ScopedMessagePipeHandle shell_handle);
+ ShellPtr shell);
void OnApplicationErrorOnUIThread(ApplicationManager* manager,
const GURL& url);
void ShutdownOnUIThread();
« no previous file with comments | « shell/android/native_viewport_application_loader.cc ('k') | shell/android/ui_application_loader_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698