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

Unified Diff: net/disk_cache/storage_block-inl.h

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 | « net/disk_cache/hash.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/storage_block-inl.h
diff --git a/net/disk_cache/storage_block-inl.h b/net/disk_cache/storage_block-inl.h
index cc0b2aa0cea91c5101f8d145cebc13bad5ebdff5..098cd74afa7e550a8379dce7b631afb8609408fb 100644
--- a/net/disk_cache/storage_block-inl.h
+++ b/net/disk_cache/storage_block-inl.h
@@ -7,8 +7,8 @@
#include "net/disk_cache/storage_block.h"
+#include "base/hash.h"
#include "base/logging.h"
-#include "net/disk_cache/hash.h"
#include "net/disk_cache/trace.h"
namespace disk_cache {
@@ -167,7 +167,7 @@ template<typename T> void StorageBlock<T>::DeleteData() {
}
template<typename T> uint32 StorageBlock<T>::CalculateHash() const {
- return Hash(reinterpret_cast<char*>(data_), offsetof(T, self_hash));
+ return base::Hash(reinterpret_cast<char*>(data_), offsetof(T, self_hash));
}
} // namespace disk_cache
« no previous file with comments | « net/disk_cache/hash.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698