Some cleanup to hmac_nss / nss_init. Move the anonymous namespaces out of the base namespace. DCHECK the result to NSS_Shutdown. Remove the comment about nss.h and move to to it's appropiate place.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2301 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/hmac_nss.cc b/base/hmac_nss.cc
index 6e8ef9f..9ef1903 100644
--- a/base/hmac_nss.cc
+++ b/base/hmac_nss.cc
@@ -11,8 +11,6 @@
#include "base/nss_init.h"
#include "base/scoped_ptr.h"
-namespace base {
-
namespace {
template <typename Type, void (*Destroyer)(Type*)>
@@ -37,6 +35,8 @@
} // namespace
+namespace base {
+
struct HMACPlatformData {
ScopedNSSSlot slot_;
ScopedNSSSymKey sym_key_;