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

Unified Diff: chrome/browser/webdata/web_apps_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/web_apps_table.h
diff --git a/chrome/browser/webdata/web_apps_table.h b/chrome/browser/webdata/web_apps_table.h
index 763ecd292d8b0adb47ae80220601fce8bdad5a32..82ebda3c07b9e812b12f9e614ea3cbf824892b96 100644
--- a/chrome/browser/webdata/web_apps_table.h
+++ b/chrome/browser/webdata/web_apps_table.h
@@ -35,6 +35,9 @@ class WebAppsTable : public WebDatabaseTable {
virtual ~WebAppsTable() {}
virtual bool Init() OVERRIDE;
virtual bool IsSyncable() OVERRIDE;
+ virtual bool MigrateToVersion(int version,
+ const std::string& app_locale,
+ bool* update_compatible_version) OVERRIDE;
bool SetWebAppImage(const GURL& url, const SkBitmap& image);

Powered by Google App Engine
This is Rietveld 408576698