/external/chromium/chrome/browser/metrics/ |
thread_watcher_unittest.cc | 236 CustomThreadWatcher* io_watcher_; member in class:ThreadWatcherTest 251 io_watcher_ = new CustomThreadWatcher(io_thread_id, io_thread_name, 261 io_watcher_ = NULL; 290 EXPECT_EQ(io_watcher_, ThreadWatcherList::Find(io_thread_id)); 294 EXPECT_EQ(io_thread_id, io_watcher_->thread_id()); 295 EXPECT_EQ(io_thread_name, io_watcher_->thread_name()); 296 EXPECT_EQ(kSleepTime, io_watcher_->sleep_time()); 297 EXPECT_EQ(kUnresponsiveTime, io_watcher_->unresponsive_time()); 298 EXPECT_FALSE(io_watcher_->active()); 318 NewRunnableMethod(io_watcher_, &ThreadWatcher::ActivateThreadWatching)) [all...] |
/external/chromium_org/chrome/browser/metrics/ |
thread_watcher_unittest.cc | 249 CustomThreadWatcher* io_watcher_; member in class:ThreadWatcherTest 277 io_watcher_ = new CustomThreadWatcher(io_thread_id, io_thread_name, 279 EXPECT_EQ(io_watcher_, thread_watcher_list_->Find(io_thread_id)); 305 io_watcher_ = NULL; 438 EXPECT_EQ(io_thread_id, io_watcher_->thread_id()); 439 EXPECT_EQ(io_thread_name, io_watcher_->thread_name()); 440 EXPECT_EQ(kSleepTime, io_watcher_->sleep_time()); 441 EXPECT_EQ(kUnresponsiveTime, io_watcher_->unresponsive_time()); 442 EXPECT_FALSE(io_watcher_->active()); 463 base::Unretained(io_watcher_))); [all...] |