summaryrefslogtreecommitdiff
path: root/ipc/chromium/src/base/file_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/chromium/src/base/file_path.h')
-rw-r--r--ipc/chromium/src/base/file_path.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/ipc/chromium/src/base/file_path.h b/ipc/chromium/src/base/file_path.h
index 42708a5241..eda2596d2d 100644
--- a/ipc/chromium/src/base/file_path.h
+++ b/ipc/chromium/src/base/file_path.h
@@ -70,7 +70,6 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "base/hash_tables.h"
// Windows-style drive letter support and pathname separator characters can be
// enabled and disabled independently, to aid testing. These #defines are
@@ -251,26 +250,4 @@ class FilePath {
#define FILE_PATH_LITERAL(x) L ## x
#endif // OS_WIN
-// Implement hash function so that we can use FilePaths in hashsets and maps.
-#if defined(COMPILER_GCC)
-namespace __gnu_cxx {
-
-template<>
-struct hash<FilePath> {
- size_t operator()(const FilePath& f) const {
- return hash<FilePath::StringType>()(f.value());
- }
-};
-
-} // namespace __gnu_cxx
-#elif defined(COMPILER_MSVC)
-namespace stdext {
-
-inline size_t hash_value(const FilePath& f) {
- return hash_value(f.value());
-}
-
-} // namespace stdext
-#endif // COMPILER
-
#endif // BASE_FILE_PATH_H_