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

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

Issue 391623002: [SyncFS] Build indexes from FileTracker entries on disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and work for a nit 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.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/metadata_database_index_on_disk.h
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.h b/chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.h
index 7a9b066e87812cc71d8a04f3fae14506a2a14706..72193d19d23f8ca5f651971cd9ffd700a6a82af9 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.h
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.h
@@ -79,6 +79,9 @@ class MetadataDatabaseIndexOnDisk : public MetadataDatabaseIndexInterface {
virtual std::vector<int64> GetAllTrackerIDs() const OVERRIDE;
virtual std::vector<std::string> GetAllMetadataIDs() const OVERRIDE;
+ // Builds on-disk indexes from FileTracker entries on disk.
+ void BuildTrackerIndexes(leveldb::WriteBatch* batch);
+
private:
enum NumEntries {
NONE, // No entries are found.
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/metadata_database_index_on_disk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698