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

Unified Diff: mojo/shell/standalone/android/ui_application_loader_android.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/ui_application_loader_android.cc
diff --git a/mojo/shell/standalone/android/ui_application_loader_android.cc b/mojo/shell/standalone/android/ui_application_loader_android.cc
index 39ebb8d260f9397a599ae48e58eae11a9966d72d..a848b2ea8e2076a077dda0bca02c22005439b8bc 100644
--- a/mojo/shell/standalone/android/ui_application_loader_android.cc
+++ b/mojo/shell/standalone/android/ui_application_loader_android.cc
@@ -24,20 +24,19 @@ UIApplicationLoader::~UIApplicationLoader() {
base::Unretained(this)));
}
-void UIApplicationLoader::Load(
- const GURL& url,
- InterfaceRequest<mojom::Application> application_request) {
- DCHECK(application_request.is_pending());
+void UIApplicationLoader::Load(const GURL& url,
+ InterfaceRequest<mojom::ShellClient> request) {
+ DCHECK(request.is_pending());
ui_message_loop_->PostTask(
FROM_HERE,
base::Bind(&UIApplicationLoader::LoadOnUIThread, base::Unretained(this),
- url, base::Passed(&application_request)));
+ url, base::Passed(&request)));
}
void UIApplicationLoader::LoadOnUIThread(
const GURL& url,
- InterfaceRequest<mojom::Application> application_request) {
- loader_->Load(url, std::move(application_request));
+ InterfaceRequest<mojom::ShellClient> request) {
+ loader_->Load(url, std::move(request));
}
void UIApplicationLoader::ShutdownOnUIThread() {
« no previous file with comments | « mojo/shell/standalone/android/ui_application_loader_android.h ('k') | mojo/shell/static_application_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698