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

Side by Side Diff: ppapi/nacl_irt/embedder_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 #ifndef PPAPI_NACL_IRT_EMBEDDER_SERVICE_H_
6 #define PPAPI_NACL_IRT_EMBEDDER_SERVICE_H_
7
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h"
11
12 namespace base {
13 class MessageLoopProxy;
14 class WaitableEvent;
15 } // namespace base
16
17 namespace IPC {
18 struct ChannelHandle;
19 class SyncChannel;
20 class SyncMessageFilter;
21 } // namespace IPC
22
23 namespace ppapi {
24
25 class EmbedderService {
26 public:
27 EmbedderService(const IPC::ChannelHandle& handle,
28 scoped_refptr<base::MessageLoopProxy> io_message_loop,
29 base::WaitableEvent* shutdown_event);
30 ~EmbedderService();
31
32 private:
33 scoped_ptr<IPC::SyncChannel> channel_;
34 scoped_refptr<IPC::SyncMessageFilter> filter_;
35
36 DISALLOW_COPY_AND_ASSIGN(EmbedderService);
37 };
38
39 } // namespace ppapi
40
41 #endif // PPAPI_NACL_IRT_EMBEDDER_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698