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

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

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/logins_table.cc ('k') | chrome/browser/webdata/token_service_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/token_service_table.h
diff --git a/chrome/browser/webdata/token_service_table.h b/chrome/browser/webdata/token_service_table.h
index f2cd8e982a69f0719553922f91673323fe785e2f..775ad9b64c52c1157ccb110cd236cb26e354cca1 100644
--- a/chrome/browser/webdata/token_service_table.h
+++ b/chrome/browser/webdata/token_service_table.h
@@ -18,6 +18,9 @@ class TokenServiceTable : public WebDatabaseTable {
virtual ~TokenServiceTable() {}
virtual bool Init() OVERRIDE;
virtual bool IsSyncable() OVERRIDE;
+ virtual bool MigrateToVersion(int version,
+ const std::string& app_locale,
+ bool* update_compatible_version) OVERRIDE;
// Remove all tokens previously set with SetTokenForService.
bool RemoveAllTokens();
« no previous file with comments | « chrome/browser/webdata/logins_table.cc ('k') | chrome/browser/webdata/token_service_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698