summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/values.cc36
-rw-r--r--base/values.h10
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.