| 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_TASK_DEPENDENCY_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_TASK_DEPENDENCY_MANAGER_H_ |
| 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_TASK_DEPENDENCY_MANAGER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_TASK_DEPENDENCY_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> |
| 11 #include <set> | 12 #include <set> |
| 12 #include <string> | 13 #include <string> |
| 13 #include <vector> | 14 #include <vector> |
| 14 | 15 |
| 15 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| 16 #include "base/macros.h" | 17 #include "base/macros.h" |
| 17 #include "base/memory/scoped_ptr.h" | |
| 18 #include "chrome/browser/sync_file_system/subtree_set.h" | 18 #include "chrome/browser/sync_file_system/subtree_set.h" |
| 19 | 19 |
| 20 namespace sync_file_system { | 20 namespace sync_file_system { |
| 21 namespace drive_backend { | 21 namespace drive_backend { |
| 22 | 22 |
| 23 struct TaskBlocker { | 23 struct TaskBlocker { |
| 24 bool exclusive; | 24 bool exclusive; |
| 25 std::string app_id; | 25 std::string app_id; |
| 26 std::vector<base::FilePath> paths; | 26 std::vector<base::FilePath> paths; |
| 27 std::vector<std::string> file_ids; | 27 std::vector<std::string> file_ids; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 58 std::set<std::string> file_ids_; | 58 std::set<std::string> file_ids_; |
| 59 std::set<int64_t> tracker_ids_; | 59 std::set<int64_t> tracker_ids_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(TaskDependencyManager); | 61 DISALLOW_COPY_AND_ASSIGN(TaskDependencyManager); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace drive_backend | 64 } // namespace drive_backend |
| 65 } // namespace sync_file_system | 65 } // namespace sync_file_system |
| 66 | 66 |
| 67 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_TASK_DEPENDENCY_MANAGER
_H_ | 67 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_TASK_DEPENDENCY_MANAGER
_H_ |
| OLD | NEW |