Index: components/webdata/common/web_data_service_backend.h |
diff --git a/components/webdata/common/web_data_service_backend.h b/components/webdata/common/web_data_service_backend.h |
index 0e1d8f247e7024761e519ddd4eabdb5f1bd1f299..5cf4216b76a4ecf46c5e99c7c010e318af04bffc 100644 |
--- a/components/webdata/common/web_data_service_backend.h |
+++ b/components/webdata/common/web_data_service_backend.h |
@@ -76,6 +76,9 @@ class WebDataServiceBackend |
WebDatabase* database() { return db_.get(); } |
+ // Asynchronously gets a weak ptr to |db_|. |
+ void GetDatabaseAsync(const WebDatabaseService::DBCallback& callback); |
+ |
private: |
friend struct content::BrowserThread::DeleteOnThread< |
content::BrowserThread::DB>; |