Index: chrome/browser/api/webdata/web_data_service_base.h |
diff --git a/chrome/browser/api/webdata/web_data_service_base.h b/chrome/browser/api/webdata/web_data_service_base.h |
index 1c92550067234f8b2f2b59a31321e70c12e794da..974dcd0b47747f34e5ac775e426eb2eb86066ee8 100644 |
--- a/chrome/browser/api/webdata/web_data_service_base.h |
+++ b/chrome/browser/api/webdata/web_data_service_base.h |
@@ -16,6 +16,7 @@ |
class WebDatabase; |
class WebDatabaseService; |
+class WebDatabaseTable; |
namespace base { |
class Thread; |
@@ -52,6 +53,15 @@ class WebDataServiceBase |
// call. |
virtual void ShutdownOnUIThread(); |
+ // Adds the given table to the database. Passes ownership. Must be |
+ // called for all tables before Init. |
+ // |
+ // TODO(joi): This method is duplicated a couple of layers deep; |
+ // once we have a single object creating the WebDatabaseService as |
+ // well as all the XyzWebDataService objects, we should be able to |
+ // simplify. |
+ void AddTable(scoped_ptr<WebDatabaseTable> table); |
+ |
// Initializes the web data service. |
virtual void Init(const base::FilePath& path); |