OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_TASK_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_TASK_MANAGER_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_TASK_MANAGER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_TASK_MANAGER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // until it finished. And the task must return the instance through | 199 // until it finished. And the task must return the instance through |
200 // NotifyTaskDone when the task finished. | 200 // NotifyTaskDone when the task finished. |
201 scoped_ptr<SyncTaskToken> token_; | 201 scoped_ptr<SyncTaskToken> token_; |
202 | 202 |
203 TaskDependencyManager dependency_manager_; | 203 TaskDependencyManager dependency_manager_; |
204 | 204 |
205 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 205 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
206 scoped_refptr<base::SequencedWorkerPool> worker_pool_; | 206 scoped_refptr<base::SequencedWorkerPool> worker_pool_; |
207 base::SequenceChecker sequence_checker_; | 207 base::SequenceChecker sequence_checker_; |
208 | 208 |
209 base::WeakPtrFactory<SyncTaskManager> weak_ptr_factory_;; | 209 base::WeakPtrFactory<SyncTaskManager> weak_ptr_factory_; |
210 | 210 |
211 DISALLOW_COPY_AND_ASSIGN(SyncTaskManager); | 211 DISALLOW_COPY_AND_ASSIGN(SyncTaskManager); |
212 }; | 212 }; |
213 | 213 |
214 } // namespace drive_backend | 214 } // namespace drive_backend |
215 } // namespace sync_file_system | 215 } // namespace sync_file_system |
216 | 216 |
217 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_TASK_MANAGER_H_ | 217 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_TASK_MANAGER_H_ |
OLD | NEW |