diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 04:00:57 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 04:00:57 +0000 |
commit | a65175d452e6cb3c9c3599ab4206c42b8ab78bfd (patch) | |
tree | ae69bde6df9080e4e367c23bba9096a1bf302c60 /base | |
parent | d9e0c26a9c2850d42c4de6b2f981a8da56497c2c (diff) | |
download | chromium_src-a65175d452e6cb3c9c3599ab4206c42b8ab78bfd.zip chromium_src-a65175d452e6cb3c9c3599ab4206c42b8ab78bfd.tar.gz chromium_src-a65175d452e6cb3c9c3599ab4206c42b8ab78bfd.tar.bz2 |
Remove deprecated wstring DictionaryValue Get{Boolean,Integer,Real,Binary,Dictionary,List}().
BUG=23581
TEST=builds and passes tests
Review URL: http://codereview.chromium.org/3187004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/values.cc | 36 | ||||
-rw-r--r-- | base/values.h | 10 |
2 files changed, 0 insertions, 46 deletions
diff --git a/base/values.cc b/base/values.cc index cd2738b..20e6175 100644 --- a/base/values.cc +++ b/base/values.cc @@ -596,42 +596,6 @@ bool DictionaryValue::GetList(const std::string& path, return true; } -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetBoolean(const std::wstring& path, - bool* out_value) const { - return GetBoolean(WideToUTF8(path), out_value); -} - -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetInteger(const std::wstring& path, - int* out_value) const { - return GetInteger(WideToUTF8(path), out_value); -} - -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetReal(const std::wstring& path, - double* out_value) const { - return GetReal(WideToUTF8(path), out_value); -} - -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetBinary(const std::wstring& path, - BinaryValue** out_value) const { - return GetBinary(WideToUTF8(path), out_value); -} - -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetDictionary(const std::wstring& path, - DictionaryValue** out_value) const { - return GetDictionary(WideToUTF8(path), out_value); -} - -// TODO(viettrungluu): Deprecated and to be removed: -bool DictionaryValue::GetList(const std::wstring& path, - ListValue** out_value) const { - return GetList(WideToUTF8(path), out_value); -} - bool DictionaryValue::GetWithoutPathExpansion(const std::string& key, Value** out_value) const { DCHECK(IsStringUTF8(key)); diff --git a/base/values.h b/base/values.h index 7f607fd..479e0fc 100644 --- a/base/values.h +++ b/base/values.h @@ -283,16 +283,6 @@ class DictionaryValue : public Value { bool GetDictionary(const std::string& path, DictionaryValue** out_value) const; bool GetList(const std::string& path, ListValue** out_value) const; - /*DEPRECATED*/bool GetBoolean(const std::wstring& path, - bool* out_value) const; - /*DEPRECATED*/bool GetInteger(const std::wstring& path, int* out_value) const; - /*DEPRECATED*/bool GetReal(const std::wstring& path, double* out_value) const; - /*DEPRECATED*/bool GetBinary(const std::wstring& path, - BinaryValue** out_value) const; - /*DEPRECATED*/bool GetDictionary(const std::wstring& path, - DictionaryValue** out_value) const; - /*DEPRECATED*/bool GetList(const std::wstring& path, - ListValue** out_value) const; // Like Get(), but without special treatment of '.'. This allows e.g. URLs to // be used as paths. |