diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-14 02:54:08 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-14 02:54:08 +0000 |
commit | a60153f0ada9823286a54b8b8852526e3e21a5a1 (patch) | |
tree | bf359cba11bf294a3b0354cf4f030f2f87b98b4c /base/values.cc | |
parent | 87e70062789c3695762c0ddaca1a759e8834398a (diff) | |
download | chromium_src-a60153f0ada9823286a54b8b8852526e3e21a5a1.zip chromium_src-a60153f0ada9823286a54b8b8852526e3e21a5a1.tar.gz chromium_src-a60153f0ada9823286a54b8b8852526e3e21a5a1.tar.bz2 |
Remove remaining deprecated wstring DictionaryValue::Get...WithoutPathExpansion()s.
BUG=23581
TEST=builds and passes tests
Review URL: http://codereview.chromium.org/3116013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56124 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/values.cc')
-rw-r--r-- | base/values.cc | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/base/values.cc b/base/values.cc index c4f33c9..1a1695c 100644 --- a/base/values.cc +++ b/base/values.cc @@ -747,36 +747,6 @@ bool DictionaryValue::GetListWithoutPathExpansion(const std::string& key, return true; } -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetWithoutPathExpansion(const std::wstring& key, - Value** out_value) const { - return GetWithoutPathExpansion(WideToUTF8(key), out_value); -} - -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetIntegerWithoutPathExpansion(const std::wstring& key, - int* out_value) const { - return GetIntegerWithoutPathExpansion(WideToUTF8(key), out_value); -} - -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetStringWithoutPathExpansion( - const std::wstring& key, - std::string* out_value) const { - return GetStringWithoutPathExpansion(WideToUTF8(key), out_value); -} - -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetStringWithoutPathExpansion( - const std::wstring& key, - std::wstring* out_value) const { - Value* value; - if (!GetWithoutPathExpansion(WideToUTF8(key), &value)) - return false; - - return value->GetAsString(out_value); -} - bool DictionaryValue::Remove(const std::string& path, Value** out_value) { DCHECK(IsStringUTF8(path)); std::string current_path(path); |