summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-14 01:55:06 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-14 01:55:06 +0000
commitb5ff342a5aca83396114933152ad5d644f536375 (patch)
treef63c249c28fbfdd400660016f4589c7b5e2a7158 /base
parent9001854dba5933cfd3cecb2e7a1bb73c50cb57d2 (diff)
downloadchromium_src-b5ff342a5aca83396114933152ad5d644f536375.zip
chromium_src-b5ff342a5aca83396114933152ad5d644f536375.tar.gz
chromium_src-b5ff342a5aca83396114933152ad5d644f536375.tar.bz2
Remove deprecated DictionaryValue::HasKeyASCII(); HasKey() already takes UTF-8.
BUG=none TEST=builds and passes tests Review URL: http://codereview.chromium.org/3142011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/values.cc5
-rw-r--r--base/values.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/base/values.cc b/base/values.cc
index 82fdbed..c4f33c9 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -385,11 +385,6 @@ bool DictionaryValue::HasKey(const std::string& key) const {
}
// TODO(viettrungluu): Deprecated and to be removed:
-bool DictionaryValue::HasKeyASCII(const std::string& key) const {
- return HasKey(key);
-}
-
-// TODO(viettrungluu): Deprecated and to be removed:
bool DictionaryValue::HasKey(const std::wstring& key) const {
return HasKey(WideToUTF8(key));
}
diff --git a/base/values.h b/base/values.h
index 005db96..a750422 100644
--- a/base/values.h
+++ b/base/values.h
@@ -223,7 +223,6 @@ class DictionaryValue : public Value {
// Returns true if the current dictionary has a value for the given key.
bool HasKey(const std::string& key) const;
- /*DEPRECATED*/bool HasKeyASCII(const std::string& key) const;
/*DEPRECATED*/bool HasKey(const std::wstring& key) const;
// Returns the number of Values in this dictionary.