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 82ebda3c07b9e812b12f9e614ea3cbf824892b96..1f80f50dc4fc6edf60a4607dee2cfc7c89ec236f 100644 |
--- a/chrome/browser/webdata/web_apps_table.h |
+++ b/chrome/browser/webdata/web_apps_table.h |
@@ -12,6 +12,7 @@ |
class GURL; |
class SkBitmap; |
+class WebDatabase; |
// This class manages the WebApps tables within the SQLite database passed to |
// the constructor. It expects the following schema: |
@@ -30,10 +31,14 @@ class SkBitmap; |
// |
class WebAppsTable : public WebDatabaseTable { |
public: |
- WebAppsTable(sql::Connection* db, sql::MetaTable* meta_table) |
- : WebDatabaseTable(db, meta_table) {} |
+ WebAppsTable() {} |
virtual ~WebAppsTable() {} |
- virtual bool Init() OVERRIDE; |
+ |
+ // Retrieves the WebAppsTable* owned by |database|. |
+ static WebAppsTable* FromWebDatabase(WebDatabase* database); |
+ |
+ 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, |