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

Unified Diff: components/webdata/common/web_database.h

Issue 382703002: Remove unused SQLLite tables from WebData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 2 Created 6 years, 5 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 | « components/webdata/DEPS ('k') | components/webdata/common/web_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webdata/common/web_database.h
diff --git a/components/webdata/common/web_database.h b/components/webdata/common/web_database.h
index e7fedf072b29e964d177d854e540e4330cc946e7..22730fe23c4036f72c1857b2a8d1b6f0f8ebf8a4 100644
--- a/components/webdata/common/web_database.h
+++ b/components/webdata/common/web_database.h
@@ -59,6 +59,18 @@ class WEBDATA_EXPORT WebDatabase {
// current version.
sql::InitStatus MigrateOldVersionsAsNeeded();
+ // Migrates this database to |version|. Returns false if there was
+ // migration work to do and it failed, true otherwise.
+ //
+ // Implementations may set |*update_compatible_version| to true if
+ // the compatible version should be changed to |version|.
+ // Implementations should otherwise not modify this parameter.
+ bool MigrateToVersion(int version,
+ bool* update_compatible_version);
+
+ // Migration method for version 58.
+ bool MigrateToVersion58DropWebAppsAndIntents();
+
sql::Connection db_;
sql::MetaTable meta_table_;
« no previous file with comments | « components/webdata/DEPS ('k') | components/webdata/common/web_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698