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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "shell/android/android_handler_loader.h" 5 #include "shell/android/android_handler_loader.h"
6 6
7 namespace shell { 7 namespace shell {
8 8
9 AndroidHandlerLoader::AndroidHandlerLoader() { 9 AndroidHandlerLoader::AndroidHandlerLoader() {}
10 }
11 10
12 AndroidHandlerLoader::~AndroidHandlerLoader() { 11 AndroidHandlerLoader::~AndroidHandlerLoader() {}
13 }
14 12
15 void AndroidHandlerLoader::Load( 13 void AndroidHandlerLoader::Load(
16 const GURL& url, 14 const GURL& url,
17 mojo::InterfaceRequest<mojo::Application> application_request) { 15 mojo::InterfaceRequest<mojo::Application> application_request) {
18 DCHECK(application_request.is_pending()); 16 DCHECK(application_request.is_pending());
19 application_.reset( 17 android_handler_.Bind(application_request.Pass());
20 new mojo::ApplicationImpl(&android_handler_, application_request.Pass()));
21 } 18 }
22 19
23 } // namespace shell 20 } // namespace shell
OLDNEW
« 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