summaryrefslogtreecommitdiffstats
path: root/base/md5.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-18 16:54:58 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-18 16:54:58 +0000
commit0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88 (patch)
tree34d232d10e6415100d5b660317c23a14e157ba83 /base/md5.h
parentdac096590a0f00f124eb71b12ff6a32cee439fca (diff)
downloadchromium_src-0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88.zip
chromium_src-0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88.tar.gz
chromium_src-0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88.tar.bz2
base: Put md5.* into base namespace.
BUG=89274 TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7395021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/md5.h')
-rw-r--r--base/md5.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/md5.h b/base/md5.h
index d652ded6..a317329 100644
--- a/base/md5.h
+++ b/base/md5.h
@@ -10,6 +10,8 @@
#include "base/base_api.h"
+namespace base {
+
// MD5 stands for Message Digest algorithm 5.
// MD5 is a robust hash function, designed for cyptography, but often used
// for file checksums. The code is complex and slow, but has few
@@ -64,4 +66,9 @@ BASE_API std::string MD5DigestToBase16(const MD5Digest& digest);
// Returns the MD5 (in hexadecimal) of a string.
BASE_API std::string MD5String(const std::string& str);
+} // namespace base
+
+// TODO(tfarina): Fix third_party/hunspell then remove this hack.
+using base::MD5Digest;
+
#endif // BASE_MD5_H_