Index: mojo/service_manager/service_loader.cc |
diff --git a/mojo/service_manager/service_loader.cc b/mojo/service_manager/service_loader.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1159a329f9c4f471c4a2992a72cb2083f0802c58 |
--- /dev/null |
+++ b/mojo/service_manager/service_loader.cc |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "mojo/service_manager/service_loader.h" |
+ |
+namespace mojo { |
+ |
+ServiceLoader::SimpleLoadServiceCallbacks::SimpleLoadServiceCallbacks( |
+ ScopedMessagePipeHandle shell_handle) |
+ : shell_handle_(shell_handle.Pass()) { |
+} |
+ |
+ServiceLoader::SimpleLoadServiceCallbacks::~SimpleLoadServiceCallbacks() { |
+} |
+ |
+ScopedMessagePipeHandle |
+ServiceLoader::SimpleLoadServiceCallbacks::RegisterApplication() { |
+ return shell_handle_.Pass(); |
+} |
+ |
+void ServiceLoader::SimpleLoadServiceCallbacks::LoadWithContentHandler( |
+ const GURL& content_handle_url, ScopedDataPipeConsumerHandle content) { |
+ NOTREACHED(); |
+} |
+ |
+} // namespace mojo |