From 0ad1d2d6eb6f1e4edff72dabb8e2b2f9ba051f88 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Mon, 18 Jul 2011 16:54:58 +0000 Subject: 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 --- base/md5.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'base/md5.h') 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_ -- cgit v1.1