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

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

Issue 10542048: Add a group policy controlling which sites can install extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 6 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/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 92ca408b3870c73b9e4093636080e3419eadf6ba..f4a8c3a29ca4a51d589e13fdfb54453c8cdfac4c 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -19,6 +19,7 @@
#include "chrome/browser/extensions/extension_scoped_prefs.h"
#include "chrome/browser/extensions/management_policy.h"
#include "chrome/common/extensions/extension.h"
+#include "chrome/common/extensions/url_pattern_set.h"
#include "chrome/common/string_ordinal.h"
class ExtensionPrefValueMap;
@@ -432,6 +433,8 @@ class ExtensionPrefs : public extensions::ContentSettingsStore::Observer,
return extension_sorting_.get();
}
+ URLPatternSet GetAllowedInstallSites();
Yoyo Zhou 2012/06/07 19:19:15 Should have some sort of comment on what this is.
Aaron Boodman 2012/06/07 22:37:11 Done.
+
protected:
// For unit testing. Enables injecting an artificial clock that is used
// to query the current time, when an extension is installed.

Powered by Google App Engine
This is Rietveld 408576698