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

Unified Diff: shell/android/android_handler_loader.cc

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/android/android_handler_loader.cc
diff --git a/shell/android/android_handler_loader.cc b/shell/android/android_handler_loader.cc
index 61b8e91cde3a90ad2fe346c5f5ae635d94b03a8f..1b334f317e2a5f917d242676b98c4f4383bceb72 100644
--- a/shell/android/android_handler_loader.cc
+++ b/shell/android/android_handler_loader.cc
@@ -13,12 +13,14 @@ AndroidHandlerLoader::AndroidHandlerLoader() {
AndroidHandlerLoader::~AndroidHandlerLoader() {
}
-void AndroidHandlerLoader::Load(ApplicationManager* manager,
- const GURL& url,
- ShellPtr shell,
- LoadCallback callback) {
- DCHECK(shell);
- application_.reset(new ApplicationImpl(&android_handler_, shell.Pass()));
+void AndroidHandlerLoader::Load(
+ ApplicationManager* manager,
+ const GURL& url,
+ InterfaceRequest<Application> application_request,
+ LoadCallback callback) {
+ DCHECK(application_request.is_pending());
+ application_.reset(
+ new ApplicationImpl(&android_handler_, application_request.Pass()));
}
void AndroidHandlerLoader::OnApplicationError(ApplicationManager* manager,

Powered by Google App Engine
This is Rietveld 408576698