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

Unified Diff: components/nacl/browser/nacl_process_host.h

Issue 903333002: NaCl cleanup: Remove references to native_client/src/public/nacl_file_info.h (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Cleanup Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/browser/nacl_host_message_filter.cc ('k') | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « components/nacl/browser/nacl_host_message_filter.cc ('k') | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698