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

Unified Diff: chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc

Issue 1223983002: Move WriteInto to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc
diff --git a/chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc b/chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc
index 6338752ac32a1240e4ca9cd19e3c7ccfc3489fe9..9d66402fec3b6975da2b61d6f9420baebc455ba1 100644
--- a/chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc
+++ b/chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initializer.cc
@@ -123,7 +123,7 @@ void BootstrapUserContextInitializer::OnEasyUnlockAuthenticated(
void BootstrapUserContextInitializer::CreateRandomKey() {
std::string random_initial_key;
- crypto::RandBytes(WriteInto(&random_initial_key, kUserKeyByteSize + 1),
+ crypto::RandBytes(base::WriteInto(&random_initial_key, kUserKeyByteSize + 1),
kUserKeyByteSize);
user_context_.SetKey(Key(random_initial_key));
random_key_used_ = true;

Powered by Google App Engine
This is Rietveld 408576698