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

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

Issue 12518017: Generalize migration code in WebDatabase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to parent. Created 7 years, 9 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
Index: chrome/browser/webdata/logins_table.h
diff --git a/chrome/browser/webdata/logins_table.h b/chrome/browser/webdata/logins_table.h
index 2ea63ed939b2846eb0e77608bf0882684b0d1e9a..eece3267c5064223ac59c95ab981d5f59b7b2190 100644
--- a/chrome/browser/webdata/logins_table.h
+++ b/chrome/browser/webdata/logins_table.h
@@ -25,6 +25,9 @@ class LoginsTable : public WebDatabaseTable {
virtual ~LoginsTable() {}
virtual bool Init() OVERRIDE;
virtual bool IsSyncable() OVERRIDE;
+ virtual bool MigrateToVersion(int version,
+ const std::string& app_locale,
+ bool* update_compatible_version) OVERRIDE;
#if defined(OS_WIN)
// Adds |info| to the list of imported passwords from ie7/ie8.

Powered by Google App Engine
This is Rietveld 408576698