Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2522)

Unified Diff: crypto/cssm_init.cc

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crypto/capi_util.cc ('k') | crypto/mac_security_services_lock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/cssm_init.cc
diff --git a/crypto/cssm_init.cc b/crypto/cssm_init.cc
index 208309c351e3a1ea87ca9285c214d6a591129079..495e71b68abc7787c90cf85d747e9d183fba325e 100644
--- a/crypto/cssm_init.cc
+++ b/crypto/cssm_init.cc
@@ -39,8 +39,8 @@ void* CSSMCalloc(uint32 num, CSSM_SIZE size, void* alloc_ref) {
class CSSMInitSingleton {
public:
static CSSMInitSingleton* GetInstance() {
- return Singleton<CSSMInitSingleton,
- LeakySingletonTraits<CSSMInitSingleton> >::get();
+ return base::Singleton<CSSMInitSingleton, base::LeakySingletonTraits<
+ CSSMInitSingleton>>::get();
}
CSSM_CSP_HANDLE csp_handle() const { return csp_handle_; }
@@ -150,7 +150,7 @@ class CSSMInitSingleton {
CSSM_CL_HANDLE cl_handle_;
CSSM_TP_HANDLE tp_handle_;
- friend struct DefaultSingletonTraits<CSSMInitSingleton>;
+ friend struct base::DefaultSingletonTraits<CSSMInitSingleton>;
};
} // namespace
« no previous file with comments | « crypto/capi_util.cc ('k') | crypto/mac_security_services_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698