Index: components/nacl/common/nacl_service.h |
diff --git a/components/nacl/common/nacl_service.h b/components/nacl/common/nacl_service.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..887dfdda9a1887525cea476d84c47b7f31d93560 |
--- /dev/null |
+++ b/components/nacl/common/nacl_service.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2016 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. |
+ |
+#ifndef COMPONENTS_NACL_COMMON_NACL_SERVICE_H_ |
+#define COMPONENTS_NACL_COMMON_NACL_SERVICE_H_ |
+ |
+#include <memory> |
+ |
+#include "base/single_thread_task_runner.h" |
+#include "mojo/public/cpp/system/message_pipe.h" |
+ |
+namespace service_manager { |
+class ServiceContext; |
+} |
+ |
+std::unique_ptr<service_manager::ServiceContext> CreateNaClServiceContext( |
+ scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, |
+ mojo::ScopedMessagePipeHandle* ipc_channel); |
+ |
+#endif // COMPONENTS_NACL_COMMON_NACL_SERVICE_H_ |