Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/metrics/
Dthread_watcher.cc65 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 ThreadWatcherList
204 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 …]
Dthread_watcher.h53 class ThreadWatcherList; variable
135 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);
Dthread_watcher_unittest.cc248 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()
/external/chromium/chrome/browser/
Dbrowser_main.cc1334 scoped_ptr<ThreadWatcherList> thread_watcher_list(new ThreadWatcherList()); in BrowserMain()
1798 ThreadWatcherList::StartWatchingAll(); in BrowserMain()
1895 ThreadWatcherList::StopWatchingAll(); in BrowserMain()