| 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 "shell/application_manager/application_loader.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 namespace mojo { | 10 namespace mojo { |
| 11 | 11 |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 void NotReached(const GURL& url, | 14 void NotReached(const GURL& url, |
| 15 ScopedMessagePipeHandle shell_handle, | 15 ScopedMessagePipeHandle shell_handle, |
| 16 URLResponsePtr response) { | 16 URLResponsePtr response) { |
| 17 NOTREACHED(); | 17 NOTREACHED(); |
| 18 } | 18 } |
| 19 | 19 |
| 20 } // namespace | 20 } // namespace |
| 21 | 21 |
| 22 ApplicationLoader::LoadCallback ApplicationLoader::SimpleLoadCallback() { | 22 ApplicationLoader::LoadCallback ApplicationLoader::SimpleLoadCallback() { |
| 23 return base::Bind(&NotReached); | 23 return base::Bind(&NotReached); |
| 24 } | 24 } |
| 25 | 25 |
| 26 } // namespace mojo | 26 } // namespace mojo |
| OLD | NEW |