| Index: base/sha1.h
|
| ===================================================================
|
| --- base/sha1.h (revision 78949)
|
| +++ base/sha1.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -8,6 +8,8 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/base_api.h"
|
| +
|
| namespace base {
|
|
|
| // This function performs SHA-1 operations.
|
| @@ -18,12 +20,12 @@
|
|
|
| // Computes the SHA-1 hash of the input string |str| and returns the full
|
| // hash.
|
| -std::string SHA1HashString(const std::string& str);
|
| +BASE_API std::string SHA1HashString(const std::string& str);
|
|
|
| // Computes the SHA-1 hash of the |len| bytes in |data| and puts the hash
|
| // in |hash|. |hash| must be SHA1_LENGTH bytes long.
|
| -void SHA1HashBytes(const unsigned char* data, size_t len,
|
| - unsigned char* hash);
|
| +BASE_API void SHA1HashBytes(const unsigned char* data, size_t len,
|
| + unsigned char* hash);
|
|
|
| } // namespace base
|
|
|
|
|