HomeSort by relevance Sort by last modified time
    Searched refs:AddRemoveThread (Results 1 - 2 of 2) sorted by null

  /external/chromium/base/
observer_list_unittest.cc 92 class AddRemoveThread : public PlatformThread::Delegate,
95 AddRemoveThread(ObserverListThreadSafe<Foo>* list, bool notify)
102 factory_ = new ScopedRunnableMethodFactory<AddRemoveThread>(this);
105 virtual ~AddRemoveThread() {
112 FROM_HERE, factory_->NewRunnableMethod(&AddRemoveThread::AddTask));
141 factory_->NewRunnableMethod(&AddRemoveThread::AddTask), 0);
173 ScopedRunnableMethodFactory<AddRemoveThread>* factory_;
291 AddRemoveThread* threaded_observer[kMaxThreads];
294 threaded_observer[index] = new AddRemoveThread(observer_list.get(), false);
  /external/chromium_org/base/
observer_list_unittest.cc 98 class AddRemoveThread : public PlatformThread::Delegate,
101 AddRemoveThread(ObserverListThreadSafe<Foo>* list, bool notify)
112 virtual ~AddRemoveThread() {
119 base::Bind(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr()));
149 base::Bind(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr()));
181 base::WeakPtrFactory<AddRemoveThread> weak_factory_;
386 AddRemoveThread* threaded_observer[kMaxThreads];
389 threaded_observer[index] = new AddRemoveThread(observer_list.get(), false);

Completed in 26 milliseconds