Chromium Code Reviews| 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..2246237d000e331c26e9517c34cdd94fedae4405 100644 |
| --- a/sync/syncable/directory_backing_store.h |
| +++ b/sync/syncable/directory_backing_store.h |
| @@ -44,6 +44,10 @@ struct ColumnSpec; |
| // in tests. The concrete class used in non-test scenarios is |
| // OnDiskDirectoryBackingStore. |
| class SYNC_EXPORT_PRIVATE DirectoryBackingStore : public base::NonThreadSafe { |
| + friend class DirectoryBackingStoreTest; |
| + FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, |
| + IncreaseDatabasePageSizeFrom4KTo32K); |
| + |
| public: |
| explicit DirectoryBackingStore(const std::string& dir_name); |
| virtual ~DirectoryBackingStore(); |
| @@ -144,6 +148,12 @@ 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(); |
| + int databasePageSize; |
|
stanisc
2015/03/18 15:10:45
Member field should have an underscore at the end.
Gang Wu
2015/05/21 18:38:17
Done.
|
| + |
| bool MigrateToSpecifics(const char* old_columns, |
| const char* specifics_column, |
| void(*handler_function) ( |