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

Unified Diff: chrome/common/chrome_switches.cc

Issue 829583002: Validate hash_sha256 checksum on .crx update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add histogram description. Created 6 years 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: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 524a8fca18d4e0d81f53602c43d8eb89f392b896..6dfdc05120d94861a278e7a63a464ace496e0dc7 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1223,6 +1223,9 @@ const char kUserDataDir[] = "user-data-dir";
// Examines a .crx for validity and prints the result.
const char kValidateCrx[] = "validate-crx";
+// Checks a .crx file's hash sum.
+const char kValidateCrxHash[] = "validate-crx-hash";
+
// Uses experimental simple cache backend if possible.
const char kUseSimpleCacheBackend[] = "use-simple-cache-backend";

Powered by Google App Engine
This is Rietveld 408576698