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

Unified Diff: chrome/browser/prefs/pref_hash_calculator.h

Issue 110523006: Fix the hash generation algorithm to be consistent with prior implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/browser/prefs/pref_hash_calculator.h
diff --git a/chrome/browser/prefs/pref_hash_calculator.h b/chrome/browser/prefs/pref_hash_calculator.h
index 6f0fd851790c341d8baae1241f4f27d427fa3513..9e287750e4f7462445e0d3e0b64af41920af7704 100644
--- a/chrome/browser/prefs/pref_hash_calculator.h
+++ b/chrome/browser/prefs/pref_hash_calculator.h
@@ -39,11 +39,6 @@ class PrefHashCalculator {
const std::string& hash) const;
private:
- // Calculate a hash using a deprecated hash algorithm. For validating old
- // hashes during migration.
- std::string CalculateLegacyHash(const std::string& path,
- const base::Value* value) const;
-
std::string seed_;
std::string device_id_;
« no previous file with comments | « no previous file | chrome/browser/prefs/pref_hash_calculator.cc » ('j') | chrome/browser/prefs/pref_hash_calculator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698