| 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..b881c5bce19ff4857f67ff1f187d6de4fa39b2d8 100644
|
| --- a/components/nacl/loader/nonsfi/nonsfi_listener.h
|
| +++ b/components/nacl/loader/nonsfi/nonsfi_listener.h
|
| @@ -5,12 +5,17 @@
|
| #ifndef COMPONENTS_NACL_LOADER_NONSFI_NONSFI_LISTENER_H_
|
| #define COMPONENTS_NACL_LOADER_NONSFI_NONSFI_LISTENER_H_
|
|
|
| +#include <map>
|
| +#include <utility>
|
| +#include <vector>
|
| +
|
| #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 +42,9 @@ class NonSfiListener : public IPC::Listener {
|
|
|
| private:
|
| bool OnMessageReceived(const IPC::Message& msg) override;
|
| + void OnSetPrefetchedResource(
|
| + const std::vector<
|
| + nacl::NaClResourcePrefetchResult>& prefetched_resource_files);
|
| void OnStart(const nacl::NaClStartParams& params);
|
|
|
| base::Thread io_thread_;
|
| @@ -44,6 +52,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);
|
| };
|
|
|
|
|