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

Unified Diff: extensions/common/switches.cc

Issue 829583002: Validate hash_sha256 checksum on .crx update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittest build for windows. 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 | « extensions/common/switches.h ('k') | extensions/common/update_manifest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/switches.cc
diff --git a/extensions/common/switches.cc b/extensions/common/switches.cc
index fcc6f4990b11537ba1afcd7f470c64a7f969254c..f3ea11a43b78d58952af7f7ee18314c40c5f9e07 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -101,6 +101,10 @@ const char kWhitelistedExtensionID[] = "whitelisted-extension-id";
// Pass launch source to platform apps.
const char kTraceAppSource[] = "enable-trace-app-source";
+// Enable package hash check: the .crx file sha256 hash sum should be equal to
+// the one received from update manifest.
+const char kEnableCrxHashCheck[] = "enable-crx-hash-check";
+
} // namespace switches
} // namespace extensions
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/common/update_manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698