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

Unified Diff: extensions/common/switches.cc

Issue 266963003: Beginning of support for extension content verification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops, forgot to upload minor cosmetic changes to test 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
Index: extensions/common/switches.cc
diff --git a/extensions/common/switches.cc b/extensions/common/switches.cc
index 41c3469f2bdd580375b7fa7372e065bdb3fb7d51..57ea9602c5748c7a42d5c2cda61a950b9c793672 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -35,6 +35,16 @@ const char kEventPageIdleTime[] = "event-page-idle-time";
// notified of its impending unload and that unload happening.
const char kEventPageSuspendingTime[] = "event-page-unloading-time";
+// Values for the kExtensionContentVerification flag. See ContentVerifier::Mode
+// for more explanation.
+const char kExtensionContentVerificationBootstrap[] = "bootstrap";
+const char kExtensionContentVerificationEnforceStrict[] = "enforce_strict";
+const char kExtensionContentVerificationEnforce[] = "enforce";
+
+// Name of the command line flag to force content verification to be on in one
+// of various modes.
+const char kExtensionContentVerification[] = "extension-content-verification";
+
// Marks a renderer as extension process.
const char kExtensionProcess[] = "extension-process";

Powered by Google App Engine
This is Rietveld 408576698