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

Unified Diff: mojo/shell/standalone/android/android_handler_loader.cc

Issue 1675153002: ApplicationImpl->ShellConnection, mojom::Application->mojom::ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ci2
Patch Set: . Created 4 years, 10 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: mojo/shell/standalone/android/android_handler_loader.cc
diff --git a/mojo/shell/standalone/android/android_handler_loader.cc b/mojo/shell/standalone/android/android_handler_loader.cc
index 1c1bb5ea4371f78917f73bcdbc4fedc543730b20..4ff4bab0c559f311ff5b088ae9556238accb989e 100644
--- a/mojo/shell/standalone/android/android_handler_loader.cc
+++ b/mojo/shell/standalone/android/android_handler_loader.cc
@@ -13,12 +13,11 @@ AndroidHandlerLoader::AndroidHandlerLoader() {}
AndroidHandlerLoader::~AndroidHandlerLoader() {}
-void AndroidHandlerLoader::Load(
- const GURL& url,
- InterfaceRequest<mojom::Application> application_request) {
- DCHECK(application_request.is_pending());
- application_.reset(
- new ApplicationImpl(&android_handler_, std::move(application_request)));
+void AndroidHandlerLoader::Load(const GURL& url,
+ InterfaceRequest<mojom::ShellClient> request) {
+ DCHECK(request.is_pending());
+ shell_client_.reset(
+ new ShellConnection(&android_handler_, std::move(request)));
}
} // namespace shell
« no previous file with comments | « mojo/shell/standalone/android/android_handler_loader.h ('k') | mojo/shell/standalone/android/background_application_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698