OLD | NEW |
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/application_manager/application_loader.h" | 5 #include "mojo/application_manager/application_loader.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace mojo { | 9 namespace mojo { |
10 | 10 |
11 ApplicationLoader::SimpleLoadCallbacks::SimpleLoadCallbacks( | 11 ApplicationLoader::SimpleLoadCallbacks::SimpleLoadCallbacks( |
12 ScopedMessagePipeHandle shell_handle) | 12 ScopedMessagePipeHandle shell_handle) |
13 : shell_handle_(shell_handle.Pass()) { | 13 : shell_handle_(shell_handle.Pass()) { |
14 } | 14 } |
15 | 15 |
16 ApplicationLoader::SimpleLoadCallbacks::~SimpleLoadCallbacks() { | 16 ApplicationLoader::SimpleLoadCallbacks::~SimpleLoadCallbacks() { |
17 } | 17 } |
18 | 18 |
19 ScopedMessagePipeHandle | 19 ScopedMessagePipeHandle |
20 ApplicationLoader::SimpleLoadCallbacks::RegisterApplication() { | 20 ApplicationLoader::SimpleLoadCallbacks::RegisterApplication() { |
21 return shell_handle_.Pass(); | 21 return shell_handle_.Pass(); |
22 } | 22 } |
23 | 23 |
24 void ApplicationLoader::SimpleLoadCallbacks::LoadWithContentHandler( | 24 void ApplicationLoader::SimpleLoadCallbacks::LoadWithContentHandler( |
25 const GURL& content_handle_url, | 25 const GURL& content_handle_url, |
26 URLResponsePtr content) { | 26 URLResponsePtr url_response, |
| 27 URLLoaderPtr url_loader) { |
27 NOTREACHED(); | 28 NOTREACHED(); |
28 } | 29 } |
29 | 30 |
30 } // namespace mojo | 31 } // namespace mojo |
OLD | NEW |