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

Side by Side 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 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 "mojo/shell/standalone/android/android_handler_loader.h" 5 #include "mojo/shell/standalone/android/android_handler_loader.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace shell { 10 namespace shell {
11 11
12 AndroidHandlerLoader::AndroidHandlerLoader() {} 12 AndroidHandlerLoader::AndroidHandlerLoader() {}
13 13
14 AndroidHandlerLoader::~AndroidHandlerLoader() {} 14 AndroidHandlerLoader::~AndroidHandlerLoader() {}
15 15
16 void AndroidHandlerLoader::Load( 16 void AndroidHandlerLoader::Load(const GURL& url,
17 const GURL& url, 17 InterfaceRequest<mojom::ShellClient> request) {
18 InterfaceRequest<mojom::Application> application_request) { 18 DCHECK(request.is_pending());
19 DCHECK(application_request.is_pending()); 19 shell_client_.reset(
20 application_.reset( 20 new ShellConnection(&android_handler_, std::move(request)));
21 new ApplicationImpl(&android_handler_, std::move(application_request)));
22 } 21 }
23 22
24 } // namespace shell 23 } // namespace shell
25 } // namespace mojo 24 } // namespace mojo
OLDNEW
« 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