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

Unified Diff: chrome/browser/sync_file_system/drive_backend/task_dependency_manager.h

Issue 212203003: [SyncFS] Add exclusive task support for TaskDependencyManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/task_dependency_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend/task_dependency_manager.h
diff --git a/chrome/browser/sync_file_system/drive_backend/task_dependency_manager.h b/chrome/browser/sync_file_system/drive_backend/task_dependency_manager.h
index 68bd4274021a9195cee8f02853da32b5a574a2ea..64e5a36c9aa7e0f39746e359c589a01fb0ec1ea5 100644
--- a/chrome/browser/sync_file_system/drive_backend/task_dependency_manager.h
+++ b/chrome/browser/sync_file_system/drive_backend/task_dependency_manager.h
@@ -18,6 +18,7 @@ namespace sync_file_system {
namespace drive_backend {
struct BlockingFactor {
+ bool exclusive;
std::string app_id;
std::vector<base::FilePath> paths;
std::vector<std::string> file_ids;
@@ -48,6 +49,7 @@ class TaskDependencyManager {
private:
friend class TaskDependencyManagerTest;
+ bool running_exclusive_task_;
std::map<std::string, SubtreeSet> paths_by_app_id_;
std::set<std::string> file_ids_;
std::set<int64> tracker_ids_;
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/task_dependency_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698