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