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

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

Issue 14813039: Retire the Enterprise Web Store policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 7 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/component_loader.h
diff --git a/chrome/browser/extensions/component_loader.h b/chrome/browser/extensions/component_loader.h
index 886f21f852daf3e4e6317987e1ecad486f5592e1..7acff025f457c18a4d3714465759dd6ce0eee40c 100644
--- a/chrome/browser/extensions/component_loader.h
+++ b/chrome/browser/extensions/component_loader.h
@@ -10,16 +10,11 @@
#include "base/files/file_path.h"
#include "base/gtest_prod_util.h"
-#include "base/prefs/pref_change_registrar.h"
#include "base/values.h"
class ExtensionServiceInterface;
class PrefService;
-namespace user_prefs {
-class PrefRegistrySyncable;
-}
-
namespace extensions {
class Extension;
@@ -83,8 +78,6 @@ class ComponentLoader {
// platforms this |skip_session_components| is expected to be unset.
void AddDefaultComponentExtensions(bool skip_session_components);
- static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry);
-
// Parse the given JSON manifest. Returns NULL if it cannot be parsed, or if
// if the result is not a DictionaryValue.
DictionaryValue* ParseManifest(const std::string& manifest_contents) const;
@@ -122,9 +115,6 @@ class ComponentLoader {
void AddFileManagerExtension();
void AddImageLoaderExtension();
- // Add the enterprise webstore extension, or reload it if already loaded.
- void AddOrReloadEnterpriseWebStore();
-
void AddChromeApp();
void AddKeyboardApp();
@@ -140,8 +130,6 @@ class ComponentLoader {
typedef std::vector<ComponentExtensionInfo> RegisteredComponentExtensions;
RegisteredComponentExtensions component_extensions_;
- PrefChangeRegistrar pref_change_registrar_;
-
DISALLOW_COPY_AND_ASSIGN(ComponentLoader);
};

Powered by Google App Engine
This is Rietveld 408576698