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

Unified Diff: chrome/browser/extensions/install_verifier.h

Issue 1125353002: Make extensions developer mode warning controllable by experiments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win compile problem with unreached code Created 5 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: chrome/browser/extensions/install_verifier.h
diff --git a/chrome/browser/extensions/install_verifier.h b/chrome/browser/extensions/install_verifier.h
index 778a1a6069b38a3db2a5d101358c84edb6fad0cf..b5a922502ad647d6e6ffe9522e4433c3fac3e329 100644
--- a/chrome/browser/extensions/install_verifier.h
+++ b/chrome/browser/extensions/install_verifier.h
@@ -45,6 +45,9 @@ class InstallVerifier : public ManagementPolicy::Provider {
InstallVerifier(ExtensionPrefs* prefs, content::BrowserContext* context);
~InstallVerifier() override;
+ // Returns whether install verification should be enforced.
+ static bool ShouldEnforce();
+
// Returns whether |extension| is of a type that needs verification.
static bool NeedsVerification(const Extension& extension);
« no previous file with comments | « chrome/browser/extensions/dev_mode_bubble_controller.cc ('k') | chrome/browser/extensions/install_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698