Index: base/hash.cc |
diff --git a/net/disk_cache/hash.cc b/base/hash.cc |
similarity index 95% |
rename from net/disk_cache/hash.cc |
rename to base/hash.cc |
index 78634b6233321965d617dd62f4251490a90e6da4..2c87065045bed70a1c2851ed4646bd4f6426393b 100644 |
--- a/net/disk_cache/hash.cc |
+++ b/base/hash.cc |
@@ -1,11 +1,11 @@ |
// From http://www.azillionmonkeys.com/qed/hash.html |
-#include "net/disk_cache/hash.h" |
+#include "base/hash.h" |
typedef uint32 uint32_t; |
typedef uint16 uint16_t; |
-namespace disk_cache { |
+namespace base { |
#undef get16bits |
#if (defined(__GNUC__) && defined(__i386__)) || defined(__WATCOMC__) \ |
@@ -70,4 +70,4 @@ uint32 SuperFastHash(const char * data, int len) { |
return hash; |
} |
-} // namespace disk_cache |
+} // namespace base |