Index: components/nacl/browser/nacl_process_host.h |
diff --git a/components/nacl/browser/nacl_process_host.h b/components/nacl/browser/nacl_process_host.h |
index e35367564195b2c0e4dbfebaac5e092af8f24faf..f7693ea067a99e4641985ce296ebb7027d3aa978 100644 |
--- a/components/nacl/browser/nacl_process_host.h |
+++ b/components/nacl/browser/nacl_process_host.h |
@@ -19,7 +19,6 @@ |
#include "content/public/browser/browser_child_process_host_delegate.h" |
#include "content/public/browser/browser_child_process_host_iterator.h" |
#include "ipc/ipc_channel_handle.h" |
-#include "native_client/src/public/nacl_file_info.h" |
#include "net/socket/socket_descriptor.h" |
#include "ppapi/shared_impl/ppapi_permissions.h" |
#include "url/gurl.h" |
@@ -35,6 +34,17 @@ class ChannelProxy; |
namespace nacl { |
+// NaClFileToken is a single-use nonce that the NaCl loader process can use |
+// to query the browser process for trusted information about a file. This |
+// helps establish that the file is known by the browser to be immutable |
+// and suitable for file-identity-based validation caching. lo == 0 && hi |
+// == 0 indicates the token is invalid and no additional information is |
+// available. |
+struct NaClFileToken { |
+ uint64_t lo; |
+ uint64_t hi; |
+}; |
+ |
class NaClHostMessageFilter; |
void* AllocateAddressSpaceASLR(base::ProcessHandle process, size_t size); |