Searched refs:AddRemoveThread (Results 1 – 1 of 1) sorted by relevance
108 class AddRemoveThread : public PlatformThread::Delegate, class111 AddRemoveThread(ObserverListThreadSafe<Foo>* list, in AddRemoveThread() function in base::__anon50f2eebc0111::AddRemoveThread124 ~AddRemoveThread() override = default;130 base::BindOnce(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr())); in ThreadMain()164 base::BindOnce(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr())); in AddTask()198 base::WeakPtrFactory<AddRemoveThread> weak_factory_;602 std::vector<AddRemoveThread*> threaded_observer; in ThreadSafeObserverHarness()611 threaded_observer.push_back(new AddRemoveThread( in ThreadSafeObserverHarness()