| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "mojo/runner/android/android_handler_loader.h" | |
| 6 | |
| 7 #include <utility> | |
| 8 | |
| 9 namespace mojo { | |
| 10 namespace runner { | |
| 11 | |
| 12 AndroidHandlerLoader::AndroidHandlerLoader() { | |
| 13 } | |
| 14 | |
| 15 AndroidHandlerLoader::~AndroidHandlerLoader() { | |
| 16 } | |
| 17 | |
| 18 void AndroidHandlerLoader::Load( | |
| 19 const GURL& url, | |
| 20 InterfaceRequest<Application> application_request) { | |
| 21 DCHECK(application_request.is_pending()); | |
| 22 application_.reset( | |
| 23 new ApplicationImpl(&android_handler_, std::move(application_request))); | |
| 24 } | |
| 25 | |
| 26 } // namespace runner | |
| 27 } // namespace mojo | |
| OLD | NEW |