diff options
Diffstat (limited to 'chrome/browser/extensions/extension_prefs.cc')
-rw-r--r-- | chrome/browser/extensions/extension_prefs.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/extensions/extension_prefs.cc b/chrome/browser/extensions/extension_prefs.cc index cd97918..7b4d061 100644 --- a/chrome/browser/extensions/extension_prefs.cc +++ b/chrome/browser/extensions/extension_prefs.cc @@ -232,18 +232,6 @@ void ExtensionPrefs::OnExtensionUninstalled(const Extension* extension, } } -FilePath ExtensionPrefs::GetExtensionPath(const std::string& extension_id) { - const DictionaryValue* dict = prefs_->GetDictionary(kExtensionsPref); - if (!dict || dict->GetSize() == 0) - return FilePath(); - - std::wstring path; - if (!dict->GetString(ASCIIToWide(extension_id) + L"." + kPrefPath, &path)) - return FilePath(); - - return install_directory_.Append(FilePath::FromWStringHack(path)); -} - bool ExtensionPrefs::UpdateExtensionPref(const std::string& extension_id, const std::wstring& key, Value* data_value) { |