| Index: components/nacl/loader/nonsfi/nonsfi_listener.h
|
| diff --git a/components/nacl/loader/nonsfi/nonsfi_listener.h b/components/nacl/loader/nonsfi/nonsfi_listener.h
|
| index e755e85e5f1b2f36ebec9a688fe79a8b5ae122fc..51ad6ab627a621773432bfdbd5c1d7db32c38152 100644
|
| --- a/components/nacl/loader/nonsfi/nonsfi_listener.h
|
| +++ b/components/nacl/loader/nonsfi/nonsfi_listener.h
|
| @@ -5,12 +5,16 @@
|
| #ifndef COMPONENTS_NACL_LOADER_NONSFI_NONSFI_LISTENER_H_
|
| #define COMPONENTS_NACL_LOADER_NONSFI_NONSFI_LISTENER_H_
|
|
|
| +#include <map>
|
| +#include <utility>
|
| +
|
| #include "base/macros.h"
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/synchronization/waitable_event.h"
|
| #include "base/threading/thread.h"
|
| +#include "components/nacl/common/nacl_types.h"
|
| #include "ipc/ipc_listener.h"
|
|
|
| namespace IPC {
|
| @@ -37,6 +41,8 @@ class NonSfiListener : public IPC::Listener {
|
|
|
| private:
|
| bool OnMessageReceived(const IPC::Message& msg) override;
|
| + void OnAddPrefetchedResource(
|
| + const nacl::NaClResourcePrefetchResult& prefetched_resource_file);
|
| void OnStart(const nacl::NaClStartParams& params);
|
|
|
| base::Thread io_thread_;
|
| @@ -44,6 +50,8 @@ class NonSfiListener : public IPC::Listener {
|
| scoped_ptr<IPC::SyncChannel> channel_;
|
| scoped_refptr<NaClTrustedListener> trusted_listener_;
|
|
|
| + scoped_ptr<std::map<std::string, int>> key_fd_map_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NonSfiListener);
|
| };
|
|
|
|
|