| Index: chrome/browser/extensions/extension_prefs.cc
|
| diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc
|
| index 6f9f5194bc25283b87a49ede11e3bb87624acb3e..083c7ad8c6288bb53a3292e5081155d7fd394ca5 100644
|
| --- a/chrome/browser/extensions/extension_prefs.cc
|
| +++ b/chrome/browser/extensions/extension_prefs.cc
|
| @@ -139,9 +139,6 @@ const char kPrefLaunchType[] = "launchType";
|
| // A preference specifying if the user dragged the app on the NTP.
|
| const char kPrefUserDraggedApp[] = "user_dragged_app_ntp";
|
|
|
| -// A preference for storing extra data sent in update checks for an extension.
|
| -const char kUpdateUrlData[] = "update_url_data";
|
| -
|
| // Preferences that hold which permissions the user has granted the extension.
|
| // We explicitly keep track of these so that extensions can contain unknown
|
| // permissions, for backwards compatibility reasons, and we can still prompt
|
| @@ -1512,22 +1509,6 @@ void ExtensionPrefs::SetAppDraggedByUser(const std::string& extension_id) {
|
| Value::CreateBooleanValue(true));
|
| }
|
|
|
| -void ExtensionPrefs::SetUpdateUrlData(const std::string& extension_id,
|
| - const std::string& data) {
|
| - UpdateExtensionPref(extension_id, kUpdateUrlData,
|
| - Value::CreateStringValue(data));
|
| -}
|
| -
|
| -std::string ExtensionPrefs::GetUpdateUrlData(const std::string& extension_id) {
|
| - const DictionaryValue* dictionary = GetExtensionPref(extension_id);
|
| - if (!dictionary)
|
| - return std::string();
|
| -
|
| - std::string data;
|
| - dictionary->GetString(kUpdateUrlData, &data);
|
| - return data;
|
| -}
|
| -
|
| void ExtensionPrefs::OnContentSettingChanged(
|
| const std::string& extension_id,
|
| bool incognito) {
|
|
|