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

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

Issue 446793002: [SyncFS] Unconditionally demote remote file trackers on remote-to-local sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 4 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
Index: chrome/browser/sync_file_system/drive_backend/metadata_database.h
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database.h b/chrome/browser/sync_file_system/drive_backend/metadata_database.h
index cfd745d94ece7a99ac2d1b8b77c8575b8fa07d33..ad72469d0a603edb6db4aa5a818e10a2e9a4a996 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database.h
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database.h
@@ -322,7 +322,9 @@ class MetadataDatabase {
// Changes the priority of the tracker to low.
void LowerTrackerPriority(int64 tracker_id);
- void PromoteLowerPriorityTrackersToNormal();
+ bool PromoteLowerPriorityTrackersToNormal();
+
+ void PromoteDemotedTracker(int64 tracker_id);
// Returns true if there is a normal priority dirty tracker.
// Assigns the dirty tracker if exists and |tracker| is non-NULL.

Powered by Google App Engine
This is Rietveld 408576698