summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_prefs.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-10 22:28:17 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-10 22:28:17 +0000
commita42f2e2d7447f9ae1a65f7171c29b75bd3d14826 (patch)
tree91ccbbce3bbe159175855c4352cba71b884ec16a /chrome/browser/plugin_prefs.h
parent00475c046ebe17b9df0cf55d14afbebcb7f67437 (diff)
downloadchromium_src-a42f2e2d7447f9ae1a65f7171c29b75bd3d14826.zip
chromium_src-a42f2e2d7447f9ae1a65f7171c29b75bd3d14826.tar.gz
chromium_src-a42f2e2d7447f9ae1a65f7171c29b75bd3d14826.tar.bz2
profile: Add a way for each ProfileKeyedServiceFactory to specify its user prefernces.
To allow us to compile individual features in/out of a chrome build, we need to attack browser_prefs.cc, which is a giant static registration. This used to be done through another big code path starting in ProfileImpl which call browser::RegisterUserPrefs() which linked to other static methods. Now this is done through overridding ProfileKeyedServiceFactory::RegisterUserPrefs(), and there are no additional dependencies. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104412 Review URL: http://codereview.chromium.org/7901027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104806 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_prefs.h')
-rw-r--r--chrome/browser/plugin_prefs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/plugin_prefs.h b/chrome/browser/plugin_prefs.h
index c0dd445..7c6fdc0 100644
--- a/chrome/browser/plugin_prefs.h
+++ b/chrome/browser/plugin_prefs.h
@@ -50,10 +50,6 @@ class PluginPrefs : public base::RefCountedThreadSafe<PluginPrefs>,
POLICY_DISABLED,
};
- // Initializes the factory for this class for dependency tracking.
- // This should be called before the first profile is created.
- static void Initialize();
-
// Returns the instance associated with |profile|, creating it if necessary.
static PluginPrefs* GetForProfile(Profile* profile);