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

Unified Diff: src/trusted/validator/ncvalidate.h

Issue 9535001: Add validation caching interface. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: More edits Created 8 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 | « src/trusted/validator/build.scons ('k') | src/trusted/validator/validation_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator/ncvalidate.h
diff --git a/src/trusted/validator/ncvalidate.h b/src/trusted/validator/ncvalidate.h
index b62d6a2ff56dac5cd9f951cd72c74e5c1a580fe9..498ccca07691cbb941cd0fb0b26031c048d2289a 100644
--- a/src/trusted/validator/ncvalidate.h
+++ b/src/trusted/validator/ncvalidate.h
@@ -30,6 +30,8 @@
EXTERN_C_BEGIN
+struct NaClValidationCache;
+
/* Defines the API to select the validator kind.
* So far only the ARM architecture has a non-default validator kind
*
@@ -110,7 +112,8 @@ extern NaClValidationStatus NACL_SUBARCH_NAME(ApplyValidator,
uint8_t *data,
size_t size,
int bundle_size,
- NaClCPUFeatures *cpu_features);
+ NaClCPUFeatures *cpu_features,
+ struct NaClValidationCache *cache);
/* Applies the validator, as used in a command-line tool to report issues.
* Note: This is intentionally separated from ApplyValidator, since it need
« no previous file with comments | « src/trusted/validator/build.scons ('k') | src/trusted/validator/validation_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698