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

Unified Diff: chrome/browser/extensions/api/gcd_private/privet_v3_session.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change Created 4 years, 4 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/extensions/api/gcd_private/privet_v3_session.cc
diff --git a/chrome/browser/extensions/api/gcd_private/privet_v3_session.cc b/chrome/browser/extensions/api/gcd_private/privet_v3_session.cc
index 5dfa456aa8a1b168a886a05577f7d153594a0fff..8c22f78120c9f1b78209712abf40d7a1cae2af5a 100644
--- a/chrome/browser/extensions/api/gcd_private/privet_v3_session.cc
+++ b/chrome/browser/extensions/api/gcd_private/privet_v3_session.cc
@@ -356,8 +356,8 @@ void PrivetV3Session::OnPairingConfirmDone(
}
std::string auth_code(hmac.DigestLength(), ' ');
- if (!hmac.Sign(session_id_,
- reinterpret_cast<unsigned char*>(string_as_array(&auth_code)),
+ if (!hmac.Sign(session_id_, reinterpret_cast<unsigned char*>(
+ base::string_as_array(&auth_code)),
auth_code.size())) {
LOG(FATAL) << "Signing failed";
return callback.Run(Result::STATUS_SESSIONERROR);

Powered by Google App Engine
This is Rietveld 408576698