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

Unified Diff: chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc

Issue 6805019: Move crypto files out of base, to a top level directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixes comments by eroman Created 9 years, 8 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: chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc
===================================================================
--- chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc (revision 81350)
+++ chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc (working copy)
@@ -10,11 +10,11 @@
#include "base/hash_tables.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
-#include "base/sha2.h"
#include "base/string16.h"
#include "base/stringprintf.h"
#include "base/time.h"
#include "base/utf_string_conversions.h"
+#include "crypto/sha2.h"
#include "chrome/renderer/safe_browsing/features.h"
#include "chrome/renderer/safe_browsing/mock_feature_extractor_clock.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -44,7 +44,7 @@
for (base::hash_set<std::string>::iterator it = terms.begin();
it != terms.end(); ++it) {
- term_hashes_.insert(base::SHA256HashString(*it));
+ term_hashes_.insert(crypto::SHA256HashString(*it));
}
base::hash_set<std::string> words;
@@ -62,7 +62,7 @@
for (base::hash_set<std::string>::iterator it = words.begin();
it != words.end(); ++it) {
- word_hashes_.insert(base::SHA256HashString(*it));
+ word_hashes_.insert(crypto::SHA256HashString(*it));
}
extractor_.reset(new PhishingTermFeatureExtractor(
« no previous file with comments | « chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc ('k') | chrome/service/service_process_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698