Home
last modified time | relevance | path

Searched refs:CallbackSingletonWithNoLeakTrait (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/memory/
Dsingleton_unittest.cc78 class CallbackSingletonWithNoLeakTrait : public CallbackSingleton { class
80 struct Trait : public CallbackTrait<CallbackSingletonWithNoLeakTrait> { };
82 CallbackSingletonWithNoLeakTrait() : CallbackSingleton() { } in CallbackSingletonWithNoLeakTrait() function in base::__anon95a3c0160111::CallbackSingletonWithNoLeakTrait
84 static CallbackSingletonWithNoLeakTrait* GetInstance() { in GetInstance()
85 return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get(); in GetInstance()
138 CallbackSingletonWithNoLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonNoLeak()