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

Unified Diff: remoting/host/token_validator_factory_impl.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 | « pdf/pdfium/pdfium_page.cc ('k') | sync/util/nigori.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/token_validator_factory_impl.cc
diff --git a/remoting/host/token_validator_factory_impl.cc b/remoting/host/token_validator_factory_impl.cc
index 2109b6bfdb953e3487813bdd2116ca3d974b0fd8..0187fb8a5621a60f6c114ab0ebab2cb46b375664 100644
--- a/remoting/host/token_validator_factory_impl.cc
+++ b/remoting/host/token_validator_factory_impl.cc
@@ -99,7 +99,8 @@ std::string TokenValidatorImpl::CreateScope(
const std::string& local_jid,
const std::string& remote_jid) {
std::string nonce_bytes;
- crypto::RandBytes(WriteInto(&nonce_bytes, kNonceLength + 1), kNonceLength);
+ crypto::RandBytes(base::WriteInto(&nonce_bytes, kNonceLength + 1),
+ kNonceLength);
std::string nonce;
base::Base64Encode(nonce_bytes, &nonce);
return "client:" + remote_jid + " host:" + local_jid + " nonce:" + nonce;
« no previous file with comments | « pdf/pdfium/pdfium_page.cc ('k') | sync/util/nigori.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698