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

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

Issue 377463002: [SyncFS] Handle dirty tracker IDs in MetadataDatabaseIndexOnDisk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Work for comments Created 6 years, 5 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_index.h
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h b/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
index 85f9582b66237f89e3c6a23fe1e9899fc43c74a3..ad47c6c9598bfb9b5437a19d9d274fb41fadfb58 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
@@ -95,9 +95,10 @@ class MetadataDatabaseIndex : public MetadataDatabaseIndexInterface {
virtual std::string PickMultiTrackerFileID() const OVERRIDE;
virtual ParentIDAndTitle PickMultiBackingFilePath() const OVERRIDE;
virtual int64 PickDirtyTracker() const OVERRIDE;
- virtual void DemoteDirtyTracker(int64 tracker_id) OVERRIDE;
+ virtual void DemoteDirtyTracker(
+ int64 tracker_id, leveldb::WriteBatch* batch) OVERRIDE;
virtual bool HasDemotedDirtyTracker() const OVERRIDE;
- virtual void PromoteDemotedDirtyTrackers() OVERRIDE;
+ virtual void PromoteDemotedDirtyTrackers(leveldb::WriteBatch* batch) OVERRIDE;
virtual size_t CountDirtyTracker() const OVERRIDE;
virtual size_t CountFileMetadata() const OVERRIDE;
virtual size_t CountFileTracker() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698