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

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

Issue 263683002: Set file tokens for NaCl main nexe if available to enable validation caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: concat filepath literal Created 6 years, 7 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 | « chrome/test/nacl/nacl_browsertest_util.cc ('k') | components/nacl/browser/nacl_browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_browser.h
diff --git a/components/nacl/browser/nacl_browser.h b/components/nacl/browser/nacl_browser.h
index 51d19e4efdd89512bdbaa17ee85579c58c01ef57..93dcb4230cf12b94ee098ba4052beb05e75f2668 100644
--- a/components/nacl/browser/nacl_browser.h
+++ b/components/nacl/browser/nacl_browser.h
@@ -74,6 +74,12 @@ class NaClBrowser {
int GetProcessGdbDebugStubPort(int process_id);
+ enum ValidationCacheStatus {
+ CACHE_MISS = 0,
+ CACHE_HIT,
+ CACHE_MAX
+ };
+
bool ValidationCacheIsEnabled() const {
return validation_cache_is_enabled_;
}
« no previous file with comments | « chrome/test/nacl/nacl_browsertest_util.cc ('k') | components/nacl/browser/nacl_browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698