Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: components/nacl/common/nacl_service.h

Issue 2501913002: Change the NaCl loader and broker processes to use the ServiceManager. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698