Home
last modified time | relevance | path

Searched refs:running_tasks_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/sync_file_system/
Dsync_process_runner.cc70 running_tasks_(0), in SyncProcessRunner()
172 DCHECK_LT(0u, running_tasks_); in Finished()
173 DCHECK_LE(running_tasks_, max_parallel_task_); in Finished()
174 --running_tasks_; in Finished()
195 if (running_tasks_ >= max_parallel_task_) in Run()
197 ++running_tasks_; in Run()
206 if (running_tasks_ < max_parallel_task_) in Run()
242 if (pending_changes_ == 0 && running_tasks_ == 0) in CheckIfIdle()
Dsync_process_runner_unittest.cc98 EXPECT_LT(running_tasks_.size(), max_parallel_task_); in StartSync()
99 running_tasks_.push(callback); in StartSync()
110 ASSERT_FALSE(running_tasks_.empty()); in CompleteTask()
111 SyncStatusCallback task = running_tasks_.front(); in CompleteTask()
112 running_tasks_.pop(); in CompleteTask()
117 return !running_tasks_.empty(); in HasRunningTask()
122 std::queue<SyncStatusCallback> running_tasks_; member in sync_file_system::__anonf9f600780111::FakeSyncProcessRunner
Dsync_process_runner.h107 size_t running_tasks_; variable