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

Unified Diff: sync/syncable/directory_backing_store.h

Issue 1016563005: Increase page size for SyncData DB from 4K to maximum supported 32K (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: sync/syncable/directory_backing_store.h
diff --git a/sync/syncable/directory_backing_store.h b/sync/syncable/directory_backing_store.h
index 254fff4d8e7477d9286eebc956e68b4a985f6cfc..848657e94b44e01d96243c89fc35030fe2d491ea 100644
--- a/sync/syncable/directory_backing_store.h
+++ b/sync/syncable/directory_backing_store.h
@@ -144,6 +144,11 @@ class SYNC_EXPORT_PRIVATE DirectoryBackingStore : public base::NonThreadSafe {
bool SetVersion(int version);
int GetVersion();
+ bool GetDatabasePageSize(int* page_size);
+ bool IsSyncBackingDatabase32KEnabled();
+ bool IncreasePageSizeTo32K();
+ bool Vacuum();
+
bool MigrateToSpecifics(const char* old_columns,
const char* specifics_column,
void(*handler_function) (

Powered by Google App Engine
This is Rietveld 408576698