| Index: chrome/browser/extensions/extension_prefs.cc
|
| diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc
|
| index e0450220ef2d2dcaa065071527065a7dab949130..3b536c0064e02ec4ec87ea3d52e3432c1f82d19b 100644
|
| --- a/chrome/browser/extensions/extension_prefs.cc
|
| +++ b/chrome/browser/extensions/extension_prefs.cc
|
| @@ -36,9 +36,6 @@ namespace {
|
|
|
| // Additional preferences keys
|
|
|
| -// Whether this extension was running when chrome last shutdown.
|
| -const char kPrefRunning[] = "running";
|
| -
|
| // Where an extension was installed from. (see Extension::Location)
|
| const char kPrefLocation[] = "location";
|
|
|
| @@ -1100,21 +1097,6 @@ void ExtensionPrefs::SetRegisteredEvents(
|
| UpdateExtensionPref(extension_id, kRegisteredEvents, value);
|
| }
|
|
|
| -void ExtensionPrefs::SetExtensionRunning(const std::string& extension_id,
|
| - bool is_running) {
|
| - Value* value = Value::CreateBooleanValue(is_running);
|
| - UpdateExtensionPref(extension_id, kPrefRunning, value);
|
| -}
|
| -
|
| -bool ExtensionPrefs::IsExtensionRunning(const std::string& extension_id) {
|
| - const DictionaryValue* extension = GetExtensionPref(extension_id);
|
| - if (!extension)
|
| - return false;
|
| - bool running = false;
|
| - extension->GetBoolean(kPrefRunning, &running);
|
| - return running;
|
| -}
|
| -
|
| ExtensionOmniboxSuggestion
|
| ExtensionPrefs::GetOmniboxDefaultSuggestion(const std::string& extension_id) {
|
| ExtensionOmniboxSuggestion suggestion;
|
|
|