Index: chrome/browser/password_manager/encryptor_password_mac.mm |
diff --git a/chrome/browser/password_manager/encryptor_password_mac.mm b/chrome/browser/password_manager/encryptor_password_mac.mm |
index a9550439e9f284b6806018a878341dd9a173787d..5303a7ebddee5222c83a7f95a56f85b768de2fe2 100644 |
--- a/chrome/browser/password_manager/encryptor_password_mac.mm |
+++ b/chrome/browser/password_manager/encryptor_password_mac.mm |
@@ -7,7 +7,7 @@ |
#import <Security/Security.h> |
#include "chrome/browser/keychain_mac.h" |
-#include "chrome/browser/sync/util/crypto_helpers.h" |
+#include "crypto/random.h" |
#include "ui/base/l10n/l10n_util.h" |
namespace { |
@@ -18,7 +18,7 @@ namespace { |
std::string AddRandomPasswordToKeychain(const MacKeychain& keychain, |
const std::string& service_name, |
const std::string& account_name) { |
- std::string password = Generate128BitRandomHexString(); |
+ std::string password = Generate128BitRandomBase64String(); |
void* password_data = |
const_cast<void*>(static_cast<const void*>(password.data())); |