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

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

Issue 10989063: Changed DB to store node positions as Ordinals. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed memory leak error in unittest Created 8 years, 2 months 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
« no previous file with comments | « sync/syncable/directory.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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « sync/syncable/directory.cc ('k') | sync/syncable/directory_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698