Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 12518017: Generalize migration code in WebDatabase. (Closed) Base URL: svn://
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/web_intents_table.h
diff --git a/chrome/browser/webdata/web_intents_table.h b/chrome/browser/webdata/web_intents_table.h
index 844de554c7a1d0470620b4d8ab44ff269e612d27..0064341b7a53fad2c3ff5bb9473a4995b3dac68f 100644
--- a/chrome/browser/webdata/web_intents_table.h
+++ b/chrome/browser/webdata/web_intents_table.h
@@ -56,6 +56,9 @@ class WebIntentsTable : public WebDatabaseTable {
// WebDatabaseTable implementation.
virtual bool Init() OVERRIDE;
virtual bool IsSyncable() OVERRIDE;
+ virtual bool MigrateToVersion(int version,
+ const std::string& app_locale,
+ bool* update_compatible_version) OVERRIDE;
// Adds "scheme" column to the web_intents and web_intents_defaults tables.
bool MigrateToVersion46AddSchemeColumn();

Powered by Google App Engine
This is Rietveld 408576698