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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 bool MigrateVersion72To73(); | 150 bool MigrateVersion72To73(); |
151 bool MigrateVersion73To74(); | 151 bool MigrateVersion73To74(); |
152 bool MigrateVersion74To75(); | 152 bool MigrateVersion74To75(); |
153 bool MigrateVersion75To76(); | 153 bool MigrateVersion75To76(); |
154 bool MigrateVersion76To77(); | 154 bool MigrateVersion76To77(); |
155 bool MigrateVersion77To78(); | 155 bool MigrateVersion77To78(); |
156 bool MigrateVersion78To79(); | 156 bool MigrateVersion78To79(); |
157 bool MigrateVersion79To80(); | 157 bool MigrateVersion79To80(); |
158 bool MigrateVersion80To81(); | 158 bool MigrateVersion80To81(); |
159 bool MigrateVersion81To82(); | 159 bool MigrateVersion81To82(); |
| 160 bool MigrateVersion82To83(); |
160 | 161 |
161 scoped_ptr<sql::Connection> db_; | 162 scoped_ptr<sql::Connection> db_; |
162 sql::Statement save_entry_statement_; | 163 sql::Statement save_entry_statement_; |
163 std::string dir_name_; | 164 std::string dir_name_; |
164 | 165 |
165 // Set to true if migration left some old columns around that need to be | 166 // Set to true if migration left some old columns around that need to be |
166 // discarded. | 167 // discarded. |
167 bool needs_column_refresh_; | 168 bool needs_column_refresh_; |
168 | 169 |
169 DISALLOW_COPY_AND_ASSIGN(DirectoryBackingStore); | 170 DISALLOW_COPY_AND_ASSIGN(DirectoryBackingStore); |
170 }; | 171 }; |
171 | 172 |
172 } // namespace syncable | 173 } // namespace syncable |
173 } // namespace syncer | 174 } // namespace syncer |
174 | 175 |
175 #endif // SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ | 176 #endif // SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ |
OLD | NEW |