From 234fc5ff000fc423b8b98859474c9ee77e09a3f2 Mon Sep 17 00:00:00 2001 From: "derat@chromium.org" Date: Thu, 16 Jan 2014 23:32:28 +0000 Subject: extensions: Relocate pref name constants. Move extension-related pref name constants used by the ExtensionPrefs class from chrome/common/pref_names.h to extensions/browser/pref_names.h. Remove "Extension" from the beginning of the constant identifiers and "Pref" from the end since it seemed redundant now that they're in the extensions::pref_names namespace. Also delete prefs::kExtensionBlacklistUpdateVersion since it hasn't been used in about a year. BUG=313284 TBR=isherman@chromium.org,sky@chromium.org Review URL: https://codereview.chromium.org/140343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245374 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/api/preference/preference_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/extensions/api/preference') diff --git a/chrome/browser/extensions/api/preference/preference_api.cc b/chrome/browser/extensions/api/preference/preference_api.cc index d2b2198..d04f6c0 100644 --- a/chrome/browser/extensions/api/preference/preference_api.cc +++ b/chrome/browser/extensions/api/preference/preference_api.cc @@ -426,7 +426,7 @@ void PreferenceAPI::LoadExtensionControlledPrefs( std::string key = extension_id + "." + scope_string; const base::DictionaryValue* source_dict = prefs->pref_service()-> - GetDictionary(prefs::kExtensionsPref); + GetDictionary(pref_names::kExtensions); const base::DictionaryValue* preferences = NULL; if (!source_dict->GetDictionary(key, &preferences)) return; -- cgit v1.1