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

Unified Diff: chromeos/login/auth/key.cc

Issue 1279123004: Replace ToLower calls to the new format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « chromeos/cryptohome/system_salt_getter.cc ('k') | cloud_print/gcp20/prototype/print_job_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/key.cc
diff --git a/chromeos/login/auth/key.cc b/chromeos/login/auth/key.cc
index 01c3bcf1ffc89a03b21dc468d4b66b1374a4e01c..fe3ec86a74072a6b32c51c2aa736d67250e235fb 100644
--- a/chromeos/login/auth/key.cc
+++ b/chromeos/login/auth/key.cc
@@ -84,7 +84,7 @@ void Key::Transform(KeyType target_key_type, const std::string& salt) {
// Keep only the first half of the hash for 'weak' hashing so that the
// plain text secret cannot be reconstructed even if the hashing is
// reversed.
- secret_ = base::StringToLowerASCII(base::HexEncode(
+ secret_ = base::ToLowerASCII(base::HexEncode(
reinterpret_cast<const void*>(hash), sizeof(hash) / 2));
break;
}
« no previous file with comments | « chromeos/cryptohome/system_salt_getter.cc ('k') | cloud_print/gcp20/prototype/print_job_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698