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

Side by Side Diff: base/sha1.h

Issue 355003: Implement FormStructure and an initial method, EncodeUploadRequest. This als... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/base.gyp ('k') | base/sha1.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BASE_SHA1_H_
6 #define BASE_SHA1_H_
7
8 #include <string>
9
10 namespace base {
11
12 // This function performs SHA-1 operations.
13
14 enum {
15 SHA1_LENGTH = 20 // Length in bytes of a SHA-1 hash.
16 };
17
18 // Computes the SHA-1 hash of the input string |str| and returns the full
19 // hash.
20 std::string SHA1HashString(const std::string& str);
21
22 } // namespace base
23
24 #endif // BASE_SHA1_H_
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/sha1.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698