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

Side by Side Diff: sync/syncable/directory_backing_store.h

Issue 11341048: Populate versions on individual nodes in sync model and native bookmark model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/write_transaction.cc ('k') | sync/syncable/directory_backing_store.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « sync/internal_api/write_transaction.cc ('k') | sync/syncable/directory_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698