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

Unified Diff: chrome/app/client_util.cc

Issue 7972024: Update SHA1_LENGTH -> kSHA1Length to match previous change to SHA256_LENGTH. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/app/client_util.cc
===================================================================
--- chrome/app/client_util.cc (revision 102606)
+++ chrome/app/client_util.cc (working copy)
@@ -145,7 +145,7 @@
return false;
// We use the same technique as FieldTrial::HashClientId.
- unsigned char sha1_hash[base::SHA1_LENGTH];
+ unsigned char sha1_hash[base::kSHA1Length];
base::SHA1HashBytes(
reinterpret_cast<const unsigned char*>(metrics_id.c_str()),
metrics_id.size() * sizeof(metrics_id[0]),

Powered by Google App Engine
This is Rietveld 408576698