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

Unified Diff: ppapi/native_client/src/trusted/plugin/pnacl_options.h

Issue 14683004: Check that the PNaCl cache hash is truly derived from the bitcode content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 7 years, 8 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
Index: ppapi/native_client/src/trusted/plugin/pnacl_options.h
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_options.h b/ppapi/native_client/src/trusted/plugin/pnacl_options.h
index 55bbbb992c15d72f0f9b7377e0a7f3fcf508ef6b..3ddfbb009f6d48fd51f70fbb42df13663980c5ee 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_options.h
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_options.h
@@ -26,6 +26,9 @@ class PnaclOptions {
// as well as the commandline options).
nacl::string GetCacheKey();
+ // Return just the bitcode hash.
+ nacl::string GetBitcodeHash() { return bitcode_hash_; }
+
// Return true if the manifest did not specify any special options
// (just using the default).
bool HasDefaultOpts() {

Powered by Google App Engine
This is Rietveld 408576698