diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-16 23:32:28 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-16 23:32:28 +0000 |
commit | 234fc5ff000fc423b8b98859474c9ee77e09a3f2 (patch) | |
tree | 984053b1f24a7481d208be86f808cda22a7b8aa0 /chrome/browser/extensions/api/preference | |
parent | 95734dc8aa8861962b878d92389baedf47cd5091 (diff) | |
download | chromium_src-234fc5ff000fc423b8b98859474c9ee77e09a3f2.zip chromium_src-234fc5ff000fc423b8b98859474c9ee77e09a3f2.tar.gz chromium_src-234fc5ff000fc423b8b98859474c9ee77e09a3f2.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/extensions/api/preference')
-rw-r--r-- | chrome/browser/extensions/api/preference/preference_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |