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

  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
task_dependency_manager.cc 75 bool TaskDependencyManager::Insert(const TaskBlocker* task_blocker) {
79 if (!task_blocker) {
84 if (task_blocker->exclusive) {
95 if (!InsertAllOrNone(task_blocker->tracker_ids, &tracker_ids_))
98 if (!InsertAllOrNone(task_blocker->file_ids, &file_ids_))
101 if (!task_blocker->app_id.empty() &&
102 !InsertPaths(task_blocker->paths,
103 &paths_by_app_id_[task_blocker->app_id])) {
104 if (paths_by_app_id_[task_blocker->app_id].empty())
105 paths_by_app_id_.erase(task_blocker->app_id)
    [all...]
sync_task.cc 29 scoped_ptr<TaskBlocker> task_blocker(new TaskBlocker);
30 task_blocker->exclusive = true;
33 token.Pass(), task_blocker.Pass(),
task_dependency_manager.h 37 // Inserts |task_blocker| to the collection and returns true if it
39 // if |task_blocker| conflicts other |task_blocker| that is inserted
41 // Two |task_blocker| are handled as conflict if:
44 // belongs to the |task_blocker|.
45 bool Insert(const TaskBlocker* task_blocker);
47 void Erase(const TaskBlocker* task_blocker);
sync_task_token.h 38 scoped_ptr<TaskBlocker> task_blocker);
53 void set_task_blocker(scoped_ptr<TaskBlocker> task_blocker);
54 const TaskBlocker* task_blocker() const;
71 scoped_ptr<TaskBlocker> task_blocker,
sync_task_token.cc 48 scoped_ptr<TaskBlocker> task_blocker) {
53 task_blocker.Pass(),
94 scoped_ptr<TaskBlocker> task_blocker) {
95 task_blocker_ = task_blocker.Pass();
98 const TaskBlocker* SyncTaskToken::task_blocker() const { function in class:sync_file_system::drive_backend::SyncTaskToken
145 scoped_ptr<TaskBlocker> task_blocker,
151 task_blocker_(task_blocker.Pass()) {
sync_task_manager.cc 156 scoped_ptr<TaskBlocker> task_blocker,
181 task_blocker.Pass(),
211 if (token->task_blocker()) {
212 dependency_manager_.Erase(token->task_blocker());
258 scoped_ptr<TaskBlocker> task_blocker,
271 // Clear existing |task_blocker| from |dependency_manager_| before
273 if (background_task_token && background_task_token->task_blocker()) {
274 dependency_manager_.Erase(background_task_token->task_blocker());
291 base::Passed(&task_blocker),
306 !dependency_manager_.Insert(task_blocker.get()))
    [all...]
list_changes_task.cc 102 scoped_ptr<TaskBlocker> task_blocker(new TaskBlocker);
103 task_blocker->exclusive = true;
106 task_blocker.Pass(),
sync_task_manager.h 105 // Updates |task_blocker| associated to the current task by specified
106 // |task_blocker| and turns the current task to a background task if
108 // If specified |task_blocker| is blocked by any other blocking factor
113 // Note that this function once releases previous |task_blocker| before
114 // applying new |task_blocker|. So, any other task may be run before
117 scoped_ptr<TaskBlocker> task_blocker,
148 scoped_ptr<TaskBlocker> task_blocker,
158 scoped_ptr<TaskBlocker> task_blocker);
sync_task_manager_unittest.cc 195 scoped_ptr<TaskBlocker> task_blocker(new TaskBlocker);
196 task_blocker->app_id = app_id_;
197 task_blocker->paths.push_back(path_);
200 token.Pass(), task_blocker.Pass(),
268 scoped_ptr<TaskBlocker> task_blocker(new TaskBlocker);
269 task_blocker->app_id = app_id_;
270 task_blocker->paths.push_back(
275 token.Pass(), task_blocker.Pass(),
conflict_resolver.cc 36 scoped_ptr<TaskBlocker> task_blocker(new TaskBlocker);
37 task_blocker->exclusive = true;
39 token.Pass(), task_blocker.Pass(),

Completed in 114 milliseconds