Searched refs:CallbackSingletonWithLeakTrait (Results 1 – 1 of 1) sorted by relevance
89 class CallbackSingletonWithLeakTrait : public CallbackSingleton { class91 struct Trait : public CallbackTrait<CallbackSingletonWithLeakTrait> {95 CallbackSingletonWithLeakTrait() : CallbackSingleton() { } in CallbackSingletonWithLeakTrait() function in base::__anon95a3c0160111::CallbackSingletonWithLeakTrait97 static CallbackSingletonWithLeakTrait* GetInstance() { in GetInstance()98 return Singleton<CallbackSingletonWithLeakTrait, Trait>::get(); in GetInstance()142 CallbackSingletonWithLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonLeak()146 return &CallbackSingletonWithLeakTrait::GetInstance()->callback_; in GetLeakySingleton()150 DefaultSingletonTraits<CallbackSingletonWithLeakTrait>::Delete( in DeleteLeakySingleton()151 CallbackSingletonWithLeakTrait::GetInstance()); in DeleteLeakySingleton()