summaryrefslogtreecommitdiffstats
path: root/base/md5.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
commit0bea7254836d17e3f1e278cbd52e8b8816c49a48 (patch)
treeeb16c01ad0143fad583cd60a87828fd90c94f61a /base/md5.h
parent93f3edc8adc1db9e3d1deebde0ec58d15b7e1a91 (diff)
downloadchromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.zip
chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.gz
chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.bz2
Rename BASE_API to BASE_EXPORT.
R=rvargas Review URL: http://codereview.chromium.org/7461141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/md5.h')
-rw-r--r--base/md5.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/base/md5.h b/base/md5.h
index 5a1762b..f67c365 100644
--- a/base/md5.h
+++ b/base/md5.h
@@ -6,7 +6,7 @@
#define BASE_MD5_H_
#pragma once
-#include "base/base_api.h"
+#include "base/base_export.h"
#include "base/string_piece.h"
namespace base {
@@ -45,25 +45,25 @@ typedef char MD5Context[88];
// Computes the MD5 sum of the given data buffer with the given length.
// The given 'digest' structure will be filled with the result data.
-BASE_API void MD5Sum(const void* data, size_t length, MD5Digest* digest);
+BASE_EXPORT void MD5Sum(const void* data, size_t length, MD5Digest* digest);
// Initializes the given MD5 context structure for subsequent calls to
// MD5Update().
-BASE_API void MD5Init(MD5Context* context);
+BASE_EXPORT void MD5Init(MD5Context* context);
// For the given buffer of |data| as a StringPiece, updates the given MD5
// context with the sum of the data. You can call this any number of times
// during the computation, except that MD5Init() must have been called first.
-BASE_API void MD5Update(MD5Context* context, const StringPiece& data);
+BASE_EXPORT void MD5Update(MD5Context* context, const StringPiece& data);
// Finalizes the MD5 operation and fills the buffer with the digest.
-BASE_API void MD5Final(MD5Digest* digest, MD5Context* context);
+BASE_EXPORT void MD5Final(MD5Digest* digest, MD5Context* context);
// Converts a digest into human-readable hexadecimal.
-BASE_API std::string MD5DigestToBase16(const MD5Digest& digest);
+BASE_EXPORT std::string MD5DigestToBase16(const MD5Digest& digest);
// Returns the MD5 (in hexadecimal) of a string.
-BASE_API std::string MD5String(const StringPiece& str);
+BASE_EXPORT std::string MD5String(const StringPiece& str);
} // namespace base