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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier.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_classifier.cc
===================================================================
--- chrome/renderer/safe_browsing/phishing_classifier.cc (revision 81350)
+++ chrome/renderer/safe_browsing/phishing_classifier.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,8 +9,8 @@
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
-#include "base/sha2.h"
#include "base/string_util.h"
+#include "crypto/sha2.h"
#include "chrome/common/url_constants.h"
#include "chrome/renderer/safe_browsing/feature_extractor_clock.h"
#include "chrome/renderer/safe_browsing/features.h"
@@ -160,7 +160,7 @@
it != features_->features().end(); ++it) {
VLOG(2) << "Feature: " << it->first << " = " << it->second;
bool result = hashed_features.AddRealFeature(
- base::SHA256HashString(it->first), it->second);
+ crypto::SHA256HashString(it->first), it->second);
DCHECK(result);
}
« no previous file with comments | « chrome/renderer/render_process_impl.cc ('k') | chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698