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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 bool MigrateVersion70To71(); | 148 bool MigrateVersion70To71(); |
149 bool MigrateVersion71To72(); | 149 bool MigrateVersion71To72(); |
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 | 159 |
159 scoped_ptr<sql::Connection> db_; | 160 scoped_ptr<sql::Connection> db_; |
160 sql::Statement save_entry_statement_; | 161 sql::Statement save_entry_statement_; |
161 std::string dir_name_; | 162 std::string dir_name_; |
162 | 163 |
163 // Set to true if migration left some old columns around that need to be | 164 // Set to true if migration left some old columns around that need to be |
164 // discarded. | 165 // discarded. |
165 bool needs_column_refresh_; | 166 bool needs_column_refresh_; |
166 | 167 |
167 DISALLOW_COPY_AND_ASSIGN(DirectoryBackingStore); | 168 DISALLOW_COPY_AND_ASSIGN(DirectoryBackingStore); |
168 }; | 169 }; |
169 | 170 |
170 } // namespace syncable | 171 } // namespace syncable |
171 } // namespace syncer | 172 } // namespace syncer |
172 | 173 |
173 #endif // SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ | 174 #endif // SYNC_SYNCABLE_DIRECTORY_BACKING_STORE_H_ |
OLD | NEW |