summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_system.h
diff options
context:
space:
mode:
authorjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-18 14:26:58 +0000
committerjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-18 14:26:58 +0000
commit8e7b2cf4b48a34314170ddaf0307546beaff1e73 (patch)
tree1be057d0fd9b236dc53bb2aca300ae599d360092 /chrome/browser/extensions/extension_system.h
parent8f0ccecb7381541205bd62890940906df4f5a527 (diff)
downloadchromium_src-8e7b2cf4b48a34314170ddaf0307546beaff1e73.zip
chromium_src-8e7b2cf4b48a34314170ddaf0307546beaff1e73.tar.gz
chromium_src-8e7b2cf4b48a34314170ddaf0307546beaff1e73.tar.bz2
Disable loading of unpacked extensions when '*' is blacklisted, both via the UI and via the --load-extension switch.
The load-unpacked button is also disabled in this case. Also did a little IWYU header cleanup that was required after removing pref_service.h from extension_prefs.h. BUG=104356 TEST=Set the extension blacklist policy to '*'. Loading unpacked extensions and using the --load-extension switch are now disabled. Review URL: http://codereview.chromium.org/10106021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132788 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_system.h')
-rw-r--r--chrome/browser/extensions/extension_system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_system.h b/chrome/browser/extensions/extension_system.h
index e32c048..9b1d14ad 100644
--- a/chrome/browser/extensions/extension_system.h
+++ b/chrome/browser/extensions/extension_system.h
@@ -20,7 +20,6 @@ class ExtensionInfoMap;
class ExtensionMessageService;
class ExtensionNavigationObserver;
class ExtensionPrefs;
-class ExtensionPrefValueMap;
class ExtensionProcessManager;
class ExtensionService;
class Profile;
@@ -191,6 +190,8 @@ class ExtensionSystemImpl : public ExtensionSystem {
// access to the ResourceContext owned by |io_data_|.
scoped_ptr<ExtensionProcessManager> extension_process_manager_;
scoped_ptr<extensions::AlarmManager> alarm_manager_;
+
+ DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl);
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_