Searched refs:ThreadWatcherList (Results 1 – 4 of 4) sorted by relevance
65 if (!ThreadWatcherList::IsRegistered(thread_id)) in StartWatching()170 ThreadWatcherList::Register(this); in Initialize()191 ThreadWatcherList* ThreadWatcherList::global_ = NULL;193 ThreadWatcherList::ThreadWatcherList() in ThreadWatcherList() function in ThreadWatcherList204 ThreadWatcherList::~ThreadWatcherList() { in ~ThreadWatcherList()211 void ThreadWatcherList::Register(ThreadWatcher* watcher) { in Register()220 bool ThreadWatcherList::IsRegistered(const BrowserThread::ID thread_id) { in IsRegistered()221 return NULL != ThreadWatcherList::Find(thread_id); in IsRegistered()225 void ThreadWatcherList::StartWatchingAll() { in StartWatchingAll()229 NewRunnableFunction(&ThreadWatcherList::StartWatchingAll), in StartWatchingAll()[all …]
53 class ThreadWatcherList; variable135 friend class ThreadWatcherList;203 class ThreadWatcherList : public NotificationObserver {209 ThreadWatcherList();211 virtual ~ThreadWatcherList();263 static ThreadWatcherList* global_; // The singleton of this class.277 DISALLOW_COPY_AND_ASSIGN(ThreadWatcherList);326 DISABLE_RUNNABLE_METHOD_REFCOUNT(ThreadWatcherList);
248 thread_watcher_list_ = new ThreadWatcherList(); in ThreadWatcherTest()260 ThreadWatcherList::StopWatchingAll(); in ~ThreadWatcherTest()273 ThreadWatcherList* thread_watcher_list_;290 EXPECT_EQ(io_watcher_, ThreadWatcherList::Find(io_thread_id)); in TEST_F()291 EXPECT_EQ(webkit_watcher_, ThreadWatcherList::Find(webkit_thread_id)); in TEST_F()
1334 scoped_ptr<ThreadWatcherList> thread_watcher_list(new ThreadWatcherList()); in BrowserMain()1798 ThreadWatcherList::StartWatchingAll(); in BrowserMain()1895 ThreadWatcherList::StopWatchingAll(); in BrowserMain()