| 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_DRIVE_FILE_SYNC_TASK_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_TASK_MANAGER_H_ |
| 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_TASK_MANAGER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_TASK_MANAGER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
| 14 #include "chrome/browser/google_apis/gdata_errorcode.h" | 14 #include "chrome/browser/google_apis/gdata_errorcode.h" |
| 15 #include "webkit/fileapi/syncable/sync_callbacks.h" | 15 #include "webkit/browser/fileapi/syncable/sync_callbacks.h" |
| 16 #include "webkit/fileapi/syncable/sync_status_code.h" | 16 #include "webkit/browser/fileapi/syncable/sync_status_code.h" |
| 17 | 17 |
| 18 class Profile; | 18 class Profile; |
| 19 | 19 |
| 20 namespace tracked_objects { | 20 namespace tracked_objects { |
| 21 class Location; | 21 class Location; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace sync_file_system { | 24 namespace sync_file_system { |
| 25 | 25 |
| 26 class DriveFileSyncService; | 26 class DriveFileSyncService; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // until it finished. And the task must return the instance through | 74 // until it finished. And the task must return the instance through |
| 75 // NotifyTaskDone when the task finished. | 75 // NotifyTaskDone when the task finished. |
| 76 scoped_ptr<TaskToken> token_; | 76 scoped_ptr<TaskToken> token_; |
| 77 | 77 |
| 78 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncTaskManager); | 78 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncTaskManager); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace sync_file_system | 81 } // namespace sync_file_system |
| 82 | 82 |
| 83 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_TASK_MANAGER_H_ | 83 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_TASK_MANAGER_H_ |
| OLD | NEW |