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

Side by Side Diff: mojo/runner/android/android_handler_loader.cc

Issue 1552973002: Convert Pass()→std::move() in //mojo/runner/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/runner/android/android_handler_loader.h" 5 #include "mojo/runner/android/android_handler_loader.h"
6 6
7 #include <utility>
8
7 namespace mojo { 9 namespace mojo {
8 namespace runner { 10 namespace runner {
9 11
10 AndroidHandlerLoader::AndroidHandlerLoader() { 12 AndroidHandlerLoader::AndroidHandlerLoader() {
11 } 13 }
12 14
13 AndroidHandlerLoader::~AndroidHandlerLoader() { 15 AndroidHandlerLoader::~AndroidHandlerLoader() {
14 } 16 }
15 17
16 void AndroidHandlerLoader::Load( 18 void AndroidHandlerLoader::Load(
17 const GURL& url, 19 const GURL& url,
18 InterfaceRequest<Application> application_request) { 20 InterfaceRequest<Application> application_request) {
19 DCHECK(application_request.is_pending()); 21 DCHECK(application_request.is_pending());
20 application_.reset( 22 application_.reset(
21 new ApplicationImpl(&android_handler_, application_request.Pass())); 23 new ApplicationImpl(&android_handler_, std::move(application_request)));
22 } 24 }
23 25
24 } // namespace runner 26 } // namespace runner
25 } // namespace mojo 27 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/android/android_handler.cc ('k') | mojo/runner/android/background_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698