diff options
Diffstat (limited to 'components/webdata/common/web_database_service.h')
-rw-r--r-- | components/webdata/common/web_database_service.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/webdata/common/web_database_service.h b/components/webdata/common/web_database_service.h index 1bdfca8..c8b1bfa 100644 --- a/components/webdata/common/web_database_service.h +++ b/components/webdata/common/web_database_service.h @@ -71,10 +71,13 @@ class WEBDATA_EXPORT WebDatabaseService // Unloads database and will not reload. virtual void ShutdownDatabase(); - // Gets a ptr to the WebDatabase (owned by WebDatabaseService). + // Gets a pointer to the WebDatabase (owned by WebDatabaseService). // TODO(caitkp): remove this method once SyncServices no longer depend on it. virtual WebDatabase* GetDatabaseOnDB() const; + // Returns a pointer to the WebDataServiceBackend. + scoped_refptr<WebDataServiceBackend> GetBackend() const; + // Schedule an update/write task on the DB thread. virtual void ScheduleDBTask( const tracked_objects::Location& from_here, |