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

Unified Diff: chrome/browser/webdata/web_database.h

Issue 3239006: Fix credit card table migration step. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_database.h
===================================================================
--- chrome/browser/webdata/web_database.h (revision 57824)
+++ chrome/browser/webdata/web_database.h (working copy)
@@ -329,12 +329,13 @@
bool InitAutofillTable();
bool InitAutofillDatesTable();
bool InitAutoFillProfilesTable();
- bool InitCreditCardsTable();
+ // Out parameter |credit_card_table_created| true if table created here.
+ bool InitCreditCardsTable(bool* table_was_created);
bool InitTokenServiceTable();
bool InitWebAppIconsTable();
bool InitWebAppsTable();
- void MigrateOldVersionsAsNeeded();
+ void MigrateOldVersionsAsNeeded(bool credit_card_table_created);
sql::Connection db_;
sql::MetaTable meta_table_;
« 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