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

Unified Diff: shell/android/background_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/android_handler_loader.cc ('k') | shell/android/background_application_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/background_application_loader.h
diff --git a/shell/android/background_application_loader.h b/shell/android/background_application_loader.h
index 4650ed6100570d4686c44f17681f3eca7ba67046..26280e84bacc2c1beee87cb4992d7804030fdc71 100644
--- a/shell/android/background_application_loader.h
+++ b/shell/android/background_application_loader.h
@@ -26,7 +26,7 @@ class MOJO_APPLICATION_MANAGER_EXPORT BackgroundApplicationLoader
// 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;
@@ -41,7 +41,7 @@ class MOJO_APPLICATION_MANAGER_EXPORT BackgroundApplicationLoader
// isn't thread safe).
void LoadOnBackgroundThread(ApplicationManager* manager,
const GURL& url,
- ScopedMessagePipeHandle shell_handle);
+ ShellPtr shell);
void OnApplicationErrorOnBackgroundThread(ApplicationManager* manager,
const GURL& url);
bool quit_on_shutdown_;
« no previous file with comments | « shell/android/android_handler_loader.cc ('k') | shell/android/background_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698