Home | History | Annotate | Download | only in base

Lines Matching refs:Singleton

8 #include "base/singleton.h"
43 return Singleton<int>::get();
47 // Force to use a different singleton than SingletonInt1.
48 return Singleton<int, DefaultSingletonTraits<int> >::get();
55 // Force to use a different singleton than SingletonInt1 and SingletonInt2.
57 return Singleton<int, DefaultSingletonTraits<int>,
62 return Singleton<int, LockTrait<int> >::get();
66 return Singleton<int, Init5Trait>::get();
70 *Singleton<CallbackFunc, NoLeakTrait>::get() = CallOnQuit;
74 *Singleton<CallbackFunc, LeakTrait>::get() = CallOnQuit;
78 return Singleton<CallbackFunc, LeakTrait>::get();
186 // Delete the leaky singleton. It is interesting to note that Purify does
202 // The leaky singleton shouldn't leak since SingletonLeak has not been called.