| Index: chrome/browser/extensions/extension_prefs.cc
|
| diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc
|
| index a200bfcedbd2086b7a256bec0aac0a4a99cfaa8c..f8f72dd812fc29507a7d392c4c5197d57ee16593 100644
|
| --- a/chrome/browser/extensions/extension_prefs.cc
|
| +++ b/chrome/browser/extensions/extension_prefs.cc
|
| @@ -136,9 +136,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
|
| @@ -1590,22 +1587,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) {
|
|
|