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

Unified Diff: sync/util/nigori.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
« no previous file with comments | « remoting/host/token_validator_factory_impl.cc ('k') | ui/base/ime/win/imm32_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/util/nigori.cc
diff --git a/sync/util/nigori.cc b/sync/util/nigori.cc
index e74d81a91851b1f65fb01653e2f1752a76ee9ea4..7a9702de08cbf989a76522081a57e6767012f4a3 100644
--- a/sync/util/nigori.cc
+++ b/sync/util/nigori.cc
@@ -160,7 +160,7 @@ bool Nigori::Encrypt(const std::string& value, std::string* encrypted) const {
return false;
std::string iv;
- crypto::RandBytes(WriteInto(&iv, kIvSize + 1), kIvSize);
+ crypto::RandBytes(base::WriteInto(&iv, kIvSize + 1), kIvSize);
Encryptor encryptor;
if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv))
« no previous file with comments | « remoting/host/token_validator_factory_impl.cc ('k') | ui/base/ime/win/imm32_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698