OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ | 5 #ifndef SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ |
6 #define SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ | 6 #define SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 bool MigrateVersion75To76(); | 155 bool MigrateVersion75To76(); |
156 bool MigrateVersion76To77(); | 156 bool MigrateVersion76To77(); |
157 bool MigrateVersion77To78(); | 157 bool MigrateVersion77To78(); |
158 bool MigrateVersion78To79(); | 158 bool MigrateVersion78To79(); |
159 bool MigrateVersion79To80(); | 159 bool MigrateVersion79To80(); |
160 bool MigrateVersion80To81(); | 160 bool MigrateVersion80To81(); |
161 bool MigrateVersion81To82(); | 161 bool MigrateVersion81To82(); |
162 bool MigrateVersion82To83(); | 162 bool MigrateVersion82To83(); |
163 bool MigrateVersion83To84(); | 163 bool MigrateVersion83To84(); |
164 bool MigrateVersion84To85(); | 164 bool MigrateVersion84To85(); |
| 165 bool MigrateVersion85To86(); |
165 | 166 |
166 scoped_ptr<sql::Connection> db_; | 167 scoped_ptr<sql::Connection> db_; |
167 sql::Statement save_entry_statement_; | 168 sql::Statement save_entry_statement_; |
168 std::string dir_name_; | 169 std::string dir_name_; |
169 | 170 |
170 // Set to true if migration left some old columns around that need to be | 171 // Set to true if migration left some old columns around that need to be |
171 // discarded. | 172 // discarded. |
172 bool needs_column_refresh_; | 173 bool needs_column_refresh_; |
173 | 174 |
174 DISALLOW_COPY_AND_ASSIGN(DirectoryBackingStore); | 175 DISALLOW_COPY_AND_ASSIGN(DirectoryBackingStore); |
175 }; | 176 }; |
176 | 177 |
177 } // namespace syncable | 178 } // namespace syncable |
178 } // namespace syncer | 179 } // namespace syncer |
179 | 180 |
180 #endif // SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ | 181 #endif // SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ |
OLD | NEW |