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

Unified Diff: chrome/browser/webdata/web_apps_table.cc

Issue 12518017: Generalize migration code in WebDatabase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge of LKGR 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
« no previous file with comments | « chrome/browser/webdata/web_apps_table.h ('k') | chrome/browser/webdata/web_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_apps_table.cc
diff --git a/chrome/browser/webdata/web_apps_table.cc b/chrome/browser/webdata/web_apps_table.cc
index a503925af73947d2eb9962a8e74627d0bed42449..927b934c6e1322912591a03fca6c8c3a9dbdc0f9 100644
--- a/chrome/browser/webdata/web_apps_table.cc
+++ b/chrome/browser/webdata/web_apps_table.cc
@@ -19,6 +19,12 @@ bool WebAppsTable::IsSyncable() {
return true;
}
+bool WebAppsTable::MigrateToVersion(int version,
+ const std::string& app_locale,
+ bool* update_compatible_version) {
+ return true;
+}
+
bool WebAppsTable::InitWebAppIconsTable() {
if (!db_->DoesTableExist("web_app_icons")) {
if (!db_->Execute("CREATE TABLE web_app_icons ("
« no previous file with comments | « chrome/browser/webdata/web_apps_table.h ('k') | chrome/browser/webdata/web_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698