Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(746)

Unified Diff: components/webdata/common/web_data_service_backend.cc

Issue 16174013: Remove dependency of WebData on content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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),
« no previous file with comments | « components/webdata/common/web_data_service_backend.h ('k') | components/webdata/common/web_data_service_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698