summaryrefslogtreecommitdiffstats
path: root/base/stl_util-inl.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 07:10:52 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 07:10:52 +0000
commit660a6866223aed7f53e1d7f13cbfe75c2327a245 (patch)
tree51172de03219cedd87f0b8aa267e9b9d541dd63a /base/stl_util-inl.h
parent03af450acf491233fb11ba3bf69294aaf0228c6b (diff)
downloadchromium_src-660a6866223aed7f53e1d7f13cbfe75c2327a245.zip
chromium_src-660a6866223aed7f53e1d7f13cbfe75c2327a245.tar.gz
chromium_src-660a6866223aed7f53e1d7f13cbfe75c2327a245.tar.bz2
Revert "Temporarily landing my ClientSocketPool refactor. Will revert right after."
Review URL: http://codereview.chromium.org/113760 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/stl_util-inl.h')
-rw-r--r--base/stl_util-inl.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/base/stl_util-inl.h b/base/stl_util-inl.h
index 70fa69e..54b7b29 100644
--- a/base/stl_util-inl.h
+++ b/base/stl_util-inl.h
@@ -447,11 +447,4 @@ std::vector<T> SetToVector(const std::set<T>& values) {
return result;
}
-// Test to see if a set, map, hash_set or hash_map contains a particular key.
-// Returns true if the key is in the collection.
-template <typename Collection, typename Key>
-bool ContainsKey(const Collection& collection, const Key& key) {
- return collection.find(key) != collection.end();
-}
-
#endif // BASE_STL_UTIL_INL_H_