| 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/shell/android/android_handler_loader.h" | |
| 6 | |
| 7 namespace mojo { | |
| 8 namespace shell { | |
| 9 | |
| 10 AndroidHandlerLoader::AndroidHandlerLoader() { | |
| 11 } | |
| 12 | |
| 13 AndroidHandlerLoader::~AndroidHandlerLoader() { | |
| 14 } | |
| 15 | |
| 16 void AndroidHandlerLoader::Load(ApplicationManager* manager, | |
| 17 const GURL& url, | |
| 18 ScopedMessagePipeHandle shell_handle, | |
| 19 LoadCallback callback) { | |
| 20 DCHECK(shell_handle.is_valid()); | |
| 21 application_.reset( | |
| 22 new ApplicationImpl(&android_handler_, shell_handle.Pass())); | |
| 23 } | |
| 24 | |
| 25 void AndroidHandlerLoader::OnApplicationError(ApplicationManager* manager, | |
| 26 const GURL& url) { | |
| 27 } | |
| 28 | |
| 29 } // namespace shell | |
| 30 } // namespace mojo | |
| OLD | NEW |