CallbackSingletonWithNoLeakTrait 69 base/memory/singleton_unittest.cc struct Trait : public CallbackTrait<CallbackSingletonWithNoLeakTrait> { }; CallbackSingletonWithNoLeakTrait 73 base/memory/singleton_unittest.cc static CallbackSingletonWithNoLeakTrait* GetInstance() { CallbackSingletonWithNoLeakTrait 74 base/memory/singleton_unittest.cc return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get(); CallbackSingletonWithNoLeakTrait 127 base/memory/singleton_unittest.cc CallbackSingletonWithNoLeakTrait::GetInstance()->callback_ = CallOnQuit;