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.
5 #ifndef PPAPI_NACL_IRT_MANIFEST_SERVICE_H_
6 #define PPAPI_NACL_IRT_MANIFEST_SERVICE_H_
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h"
13 class MessageLoopProxy
;
20 class SyncMessageFilter
;
25 class ManifestService
{
27 ManifestService(const IPC::ChannelHandle
& handle
,
28 scoped_refptr
<base::MessageLoopProxy
> io_message_loop
,
29 base::WaitableEvent
* shutdown_event
);
32 void StartupInitializationComplete();
33 bool OpenResource(const char* file
, int* fd
);
36 scoped_ptr
<IPC::ChannelProxy
> channel_
;
37 scoped_refptr
<IPC::SyncMessageFilter
> filter_
;
39 DISALLOW_COPY_AND_ASSIGN(ManifestService
);
44 #endif // PPAPI_NACL_IRT_MANIFEST_SERVICE_H_