Index: chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
diff --git a/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc b/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
index 9088804d5adbb54b43b1e8c8246f14e1ba5492c8..a7889eb2b5dcee994b5999cad2c9baa025bb90ca 100644 |
--- a/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
+++ b/chrome/browser/chromeos/login/supervised/supervised_user_authentication.cc |
@@ -40,7 +40,7 @@ const int kMasterKeySize = 32; |
std::string CreateSalt() { |
char result[kSaltSize]; |
crypto::RandBytes(&result, sizeof(result)); |
- return StringToLowerASCII(base::HexEncode( |
+ return base::StringToLowerASCII(base::HexEncode( |
reinterpret_cast<const void*>(result), |
sizeof(result))); |
} |
@@ -163,7 +163,7 @@ bool SupervisedUserAuthentication::FillDataForNewUser( |
std::string SupervisedUserAuthentication::GenerateMasterKey() { |
char master_key_bytes[kMasterKeySize]; |
crypto::RandBytes(&master_key_bytes, sizeof(master_key_bytes)); |
- return StringToLowerASCII( |
+ return base::StringToLowerASCII( |
base::HexEncode(reinterpret_cast<const void*>(master_key_bytes), |
sizeof(master_key_bytes))); |
} |