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 775ad9b64c52c1157ccb110cd236cb26e354cca1..b75ec0bf78f5c366cc982605dbc916cf8871805a 100644 |
--- a/chrome/browser/webdata/token_service_table.h |
+++ b/chrome/browser/webdata/token_service_table.h |
@@ -11,12 +11,18 @@ |
#include "base/compiler_specific.h" |
#include "chrome/browser/webdata/web_database_table.h" |
+class WebDatabase; |
+ |
class TokenServiceTable : public WebDatabaseTable { |
public: |
- TokenServiceTable(sql::Connection* db, sql::MetaTable* meta_table) |
- : WebDatabaseTable(db, meta_table) {} |
+ TokenServiceTable() {} |
virtual ~TokenServiceTable() {} |
- virtual bool Init() OVERRIDE; |
+ |
+ // Retrieves the TokenServiceTable* owned by |database|. |
+ static TokenServiceTable* FromWebDatabase(WebDatabase* db); |
+ |
+ virtual WebDatabaseTable::TypeKey GetTypeKey() const OVERRIDE; |
+ virtual bool Init(sql::Connection* db, sql::MetaTable* meta_table) OVERRIDE; |
virtual bool IsSyncable() OVERRIDE; |
virtual bool MigrateToVersion(int version, |
const std::string& app_locale, |