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

Unified Diff: shell/android/android_handler_loader.cc

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased Created 4 years, 7 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.h ('k') | shell/android/native_viewport_application_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/android_handler_loader.cc
diff --git a/shell/android/android_handler_loader.cc b/shell/android/android_handler_loader.cc
index 9909a8567340cd6054414853d4f4ee5bf760d3fe..153898f93bcce1dc1fc6942e4ff7ba22f9ddefae 100644
--- a/shell/android/android_handler_loader.cc
+++ b/shell/android/android_handler_loader.cc
@@ -6,18 +6,15 @@
namespace shell {
-AndroidHandlerLoader::AndroidHandlerLoader() {
-}
+AndroidHandlerLoader::AndroidHandlerLoader() {}
-AndroidHandlerLoader::~AndroidHandlerLoader() {
-}
+AndroidHandlerLoader::~AndroidHandlerLoader() {}
void AndroidHandlerLoader::Load(
const GURL& url,
mojo::InterfaceRequest<mojo::Application> application_request) {
DCHECK(application_request.is_pending());
- application_.reset(
- new mojo::ApplicationImpl(&android_handler_, application_request.Pass()));
+ android_handler_.Bind(application_request.Pass());
}
} // namespace shell
« no previous file with comments | « shell/android/android_handler_loader.h ('k') | shell/android/native_viewport_application_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698