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-17 15:41:52 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-17 15:41:52 +0000
commitff1f9df48c3925e022e5c66bca7fa42278ccb354 (patch)
treeca45017c952234f748124cd75ce0d4f864bc3cf1 /base/stl_util-inl.h
parent54ae3ff2256c591e32d3fd63786c7617d2aba6ee (diff)
downloadchromium_src-ff1f9df48c3925e022e5c66bca7fa42278ccb354.zip
chromium_src-ff1f9df48c3925e022e5c66bca7fa42278ccb354.tar.gz
chromium_src-ff1f9df48c3925e022e5c66bca7fa42278ccb354.tar.bz2
Revert "Add connected socket function to ClientSocketPool and ClientSocketHandle."
Broke net_unittests on windows. Review URL: http://codereview.chromium.org/113510 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16261 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_