Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: base/hash.cc

Issue 10920026: Move hash.h/cc from net/disk_cache to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: willchan, rvargas feedback Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/hash.h ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « base/hash.h ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698