Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/sync_task_manager.h

Issue 337313002: [SyncFS] Remove unneeded #include from sync_task_manager.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <queue> 8 #include <queue>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/containers/scoped_ptr_hash_map.h" 12 #include "base/containers/scoped_ptr_hash_map.h"
13 #include "base/files/file_path.h"
14 #include "base/location.h"
15 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
17 #include "base/sequence_checker.h" 15 #include "base/sequence_checker.h"
18 #include "base/threading/non_thread_safe.h" 16 #include "base/threading/non_thread_safe.h"
19 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h"
20 #include "chrome/browser/sync_file_system/drive_backend/task_dependency_manager. h" 17 #include "chrome/browser/sync_file_system/drive_backend/task_dependency_manager. h"
21 #include "chrome/browser/sync_file_system/sync_callbacks.h" 18 #include "chrome/browser/sync_file_system/sync_callbacks.h"
22 #include "chrome/browser/sync_file_system/sync_status_code.h" 19 #include "chrome/browser/sync_file_system/sync_status_code.h"
23 #include "chrome/browser/sync_file_system/task_logger.h" 20 #include "chrome/browser/sync_file_system/task_logger.h"
24 21
25 namespace tracked_objects { 22 namespace tracked_objects {
26 class Location; 23 class Location;
27 } 24 }
28 25
29 namespace sync_file_system { 26 namespace sync_file_system {
30 namespace drive_backend { 27 namespace drive_backend {
31 28
29 class SyncTask;
32 class SyncTaskToken; 30 class SyncTaskToken;
33 struct BlockingFactor; 31 struct BlockingFactor;
34 32
35 // This class manages asynchronous tasks for Sync FileSystem. Each task must be 33 // This class manages asynchronous tasks for Sync FileSystem. Each task must be
36 // either a Task or a SyncTask. 34 // either a Task or a SyncTask.
37 // The instance runs single task as the foreground task, and multiple tasks as 35 // The instance runs single task as the foreground task, and multiple tasks as
38 // background tasks. Running background task has a BlockingFactor that 36 // background tasks. Running background task has a BlockingFactor that
39 // describes which task can run in parallel. When a task start running as a 37 // describes which task can run in parallel. When a task start running as a
40 // background task, SyncTaskManager checks if any running background task 38 // background task, SyncTaskManager checks if any running background task
41 // doesn't block the new background task, and queues it up if it can't run. 39 // doesn't block the new background task, and queues it up if it can't run.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 192
195 base::SequenceChecker sequence_checker_; 193 base::SequenceChecker sequence_checker_;
196 194
197 DISALLOW_COPY_AND_ASSIGN(SyncTaskManager); 195 DISALLOW_COPY_AND_ASSIGN(SyncTaskManager);
198 }; 196 };
199 197
200 } // namespace drive_backend 198 } // namespace drive_backend
201 } // namespace sync_file_system 199 } // namespace sync_file_system
202 200
203 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_TASK_MANAGER_H_ 201 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_TASK_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698