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

Unified Diff: base/hash_tables.h

Issue 7549003: Optimize phishing page term feature extraction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecesary macros in wide_string_piece_unittest.cc Created 9 years, 5 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
Index: base/hash_tables.h
diff --git a/base/hash_tables.h b/base/hash_tables.h
index b91d5d48bb6f4db333760087986de34e5bde84eb..e34ab0778a63b8e47054053e37a1c08b17819e37 100644
--- a/base/hash_tables.h
+++ b/base/hash_tables.h
@@ -25,6 +25,8 @@
#include "build/build_config.h"
#include "base/string16.h"
+#include "base/string_piece.h"
+#include "base/wide_string_piece.h"
#if defined(COMPILER_MSVC)
#include <hash_map>
@@ -103,6 +105,8 @@ DEFINE_TRIVIAL_HASH(unsigned long long);
DEFINE_STRING_HASH(std::string);
DEFINE_STRING_HASH(string16);
+DEFINE_STRING_HASH(base::StringPiece);
+DEFINE_STRING_HASH(base::WideStringPiece);
#undef DEFINE_STRING_HASH
« no previous file with comments | « base/base.gypi ('k') | base/i18n/case_conversion.h » ('j') | base/wide_string_piece_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698