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

Side by Side Diff: chrome/browser/webdata/web_database.h

Issue 3228011: Fix web_database credit card table data migration.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: '' Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/webdata/web_database.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_
6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ 6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "app/sql/connection.h" 10 #include "app/sql/connection.h"
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 bool ClearAutofillEmptyValueElements(); 301 bool ClearAutofillEmptyValueElements();
302 302
303 // Insert a single AutofillEntry into the autofill/autofill_dates tables. 303 // Insert a single AutofillEntry into the autofill/autofill_dates tables.
304 bool InsertAutofillEntry(const AutofillEntry& entry); 304 bool InsertAutofillEntry(const AutofillEntry& entry);
305 305
306 bool InitKeywordsTable(); 306 bool InitKeywordsTable();
307 bool InitLoginsTable(); 307 bool InitLoginsTable();
308 bool InitAutofillTable(); 308 bool InitAutofillTable();
309 bool InitAutofillDatesTable(); 309 bool InitAutofillDatesTable();
310 bool InitAutoFillProfilesTable(); 310 bool InitAutoFillProfilesTable();
311 // Out parameter |credit_card_table_created| set to true if table is created 311 bool InitCreditCardsTable();
312 // here.
313 bool InitCreditCardsTable(bool* credit_card_table_created);
314 bool InitWebAppIconsTable(); 312 bool InitWebAppIconsTable();
315 bool InitWebAppsTable(); 313 bool InitWebAppsTable();
316 314
317 void MigrateOldVersionsAsNeeded(bool credit_card_table_created); 315 void MigrateOldVersionsAsNeeded();
318 316
319 sql::Connection db_; 317 sql::Connection db_;
320 sql::MetaTable meta_table_; 318 sql::MetaTable meta_table_;
321 319
322 scoped_ptr<NotificationService> notification_service_; 320 scoped_ptr<NotificationService> notification_service_;
323 321
324 DISALLOW_COPY_AND_ASSIGN(WebDatabase); 322 DISALLOW_COPY_AND_ASSIGN(WebDatabase);
325 }; 323 };
326 324
327 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ 325 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698