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

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

Issue 446653003: [SyncFS] Rollback function from version 4 to version 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test 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_db_migration_util.h
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.h b/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.h
index a077aba85d989683bde0ad27e330663627c00ba6..586aa40710e9a795e4ba7f7484821e3d5602e551 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.h
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_db_migration_util.h
@@ -58,6 +58,9 @@ SyncStatusCode MigrateDatabaseFromV0ToV1(leveldb::DB* db);
// Migrate |db| schema from version 1 to version 2.
SyncStatusCode MigrateDatabaseFromV1ToV2(leveldb::DB* db);
+// Rollback |db| schema from version 4 to version 3.
+SyncStatusCode MigrateDatabaseFromV4ToV3(leveldb::DB* db);
+
} // namespace drive_backend
} // namespace sync_file_system

Powered by Google App Engine
This is Rietveld 408576698