summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-26 20:02:50 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-26 20:02:50 +0000
commit161d86c767bf08f2606e7715734131eab214536a (patch)
treef718de3a0391376e87b2041e3b3ddd4eb239afd7 /base
parent28c860e82c858f654b0260d335e20e2991122654 (diff)
downloadchromium_src-161d86c767bf08f2606e7715734131eab214536a.zip
chromium_src-161d86c767bf08f2606e7715734131eab214536a.tar.gz
chromium_src-161d86c767bf08f2606e7715734131eab214536a.tar.bz2
Add "kSHA1Length" to base/sha1.h. This is a tiny piece of http://codereview.chromium.org/7972024/ that's being landed first so that the third-party RLZ library can be updated to use it.
BUG=92247 TEST=compiles git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102785 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/sha1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/sha1.h b/base/sha1.h
index 779a190..ade46cd 100644
--- a/base/sha1.h
+++ b/base/sha1.h
@@ -17,6 +17,7 @@ namespace base {
enum {
SHA1_LENGTH = 20 // Length in bytes of a SHA-1 hash.
};
+static const size_t kSHA1Length = 20; // TODO(pkasting): Replace above w/this
// Computes the SHA-1 hash of the input string |str| and returns the full
// hash.