Lines Matching refs:CallbackSingletonWithStaticTrait
102 class CallbackSingletonWithStaticTrait : public CallbackSingleton { class
106 CallbackSingletonWithStaticTrait() : CallbackSingleton() { } in CallbackSingletonWithStaticTrait() function in base::__anonf4a2d64d0111::CallbackSingletonWithStaticTrait
108 static CallbackSingletonWithStaticTrait* GetInstance() { in GetInstance()
109 return Singleton<CallbackSingletonWithStaticTrait, Trait>::get(); in GetInstance()
113 struct CallbackSingletonWithStaticTrait::Trait
114 : public StaticMemorySingletonTraits<CallbackSingletonWithStaticTrait> {
115 static void Delete(CallbackSingletonWithStaticTrait* instance) { in Delete()
118 StaticMemorySingletonTraits<CallbackSingletonWithStaticTrait>::Delete( in Delete()
155 CallbackSingletonWithStaticTrait::GetInstance()->callback_ = CallOnQuit; in SingletonStatic()
159 return &CallbackSingletonWithStaticTrait::GetInstance()->callback_; in GetStaticSingleton()
268 CallbackSingletonWithStaticTrait::Trait::ResurrectForTesting(); in TEST_F()