Index: components/webdata/common/web_data_service_backend.cc |
diff --git a/components/webdata/common/web_data_service_backend.cc b/components/webdata/common/web_data_service_backend.cc |
index 321ff53e3cac089cee1732a366675f91089d30d5..9f48e52be6984419bfa68bd8460d3a006d3a6b3e 100644 |
--- a/components/webdata/common/web_data_service_backend.cc |
+++ b/components/webdata/common/web_data_service_backend.cc |
@@ -10,14 +10,15 @@ |
#include "components/webdata/common/web_database.h" |
#include "components/webdata/common/web_database_table.h" |
- |
using base::Bind; |
using base::FilePath; |
-using content::BrowserThread; |
WebDataServiceBackend::WebDataServiceBackend( |
- const FilePath& path, Delegate* delegate) |
- : db_path_(path), |
+ const FilePath& path, |
+ Delegate* delegate, |
+ const scoped_refptr<base::MessageLoopProxy>& db_thread) |
+ : base::RefCountedDeleteOnMessageLoop<WebDataServiceBackend>(db_thread), |
+ db_path_(path), |
request_manager_(new WebDataRequestManager()), |
init_status_(sql::INIT_FAILURE), |
init_complete_(false), |