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

Unified Diff: ppapi/nacl_irt/manifest_service.h

Issue 231793003: Add IPC Channel for new ManifestService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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
« no previous file with comments | « ppapi/nacl_irt/irt_start.cc ('k') | ppapi/nacl_irt/manifest_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/nacl_irt/manifest_service.h
diff --git a/ppapi/nacl_irt/manifest_service.h b/ppapi/nacl_irt/manifest_service.h
new file mode 100644
index 0000000000000000000000000000000000000000..ce15add9d62d16ee9a630a80502c35cacf3f2af3
--- /dev/null
+++ b/ppapi/nacl_irt/manifest_service.h
@@ -0,0 +1,41 @@
+// 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.
+
+#ifndef PPAPI_NACL_IRT_MANIFEST_SERVICE_H_
+#define PPAPI_NACL_IRT_MANIFEST_SERVICE_H_
+
+#include "base/macros.h"
+#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
+
+namespace base {
+class MessageLoopProxy;
+class WaitableEvent;
+} // namespace base
+
+namespace IPC {
+struct ChannelHandle;
+class ChannelProxy;
+class SyncMessageFilter;
+} // namespace IPC
+
+namespace ppapi {
+
+class ManifestService {
+ public:
+ ManifestService(const IPC::ChannelHandle& handle,
+ scoped_refptr<base::MessageLoopProxy> io_message_loop,
+ base::WaitableEvent* shutdown_event);
+ ~ManifestService();
+
+ private:
+ scoped_ptr<IPC::ChannelProxy> channel_;
+ scoped_refptr<IPC::SyncMessageFilter> filter_;
+
+ DISALLOW_COPY_AND_ASSIGN(ManifestService);
+};
+
+} // namespace ppapi
+
+#endif // PPAPI_NACL_IRT_MANIFEST_SERVICE_H_
« no previous file with comments | « ppapi/nacl_irt/irt_start.cc ('k') | ppapi/nacl_irt/manifest_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698