OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_LOCAL_SYNCABLE_FILE_OPERATION_RUNNER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_OPERATION_RUNNER_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_OPERATION_RUNNER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_OPERATION_RUNNER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
16 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h" | 16 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h" |
17 #include "webkit/browser/fileapi/file_system_url.h" | 17 #include "storage/browser/fileapi/file_system_url.h" |
18 | 18 |
19 namespace storage { | 19 namespace storage { |
20 class FileSystemURL; | 20 class FileSystemURL; |
21 } | 21 } |
22 | 22 |
23 namespace sync_file_system { | 23 namespace sync_file_system { |
24 | 24 |
25 // This class must run only on IO thread. | 25 // This class must run only on IO thread. |
26 // Owned by LocalFileSyncContext. | 26 // Owned by LocalFileSyncContext. |
27 class SyncableFileOperationRunner | 27 class SyncableFileOperationRunner |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 95 |
96 const int64 max_inflight_tasks_; | 96 const int64 max_inflight_tasks_; |
97 int64 num_inflight_tasks_; | 97 int64 num_inflight_tasks_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(SyncableFileOperationRunner); | 99 DISALLOW_COPY_AND_ASSIGN(SyncableFileOperationRunner); |
100 }; | 100 }; |
101 | 101 |
102 } // namespace sync_file_system | 102 } // namespace sync_file_system |
103 | 103 |
104 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_OPERATION_RUNNER_
H_ | 104 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNCABLE_FILE_OPERATION_RUNNER_
H_ |
OLD | NEW |