Index: chrome/browser/webdata/web_data_service.h |
diff --git a/chrome/browser/webdata/web_data_service.h b/chrome/browser/webdata/web_data_service.h |
index 7db7cafd59c6344e3523b35dea2ef1e5e734167e..25a149925bdbe19497e352d446499e5c7dced070 100644 |
--- a/chrome/browser/webdata/web_data_service.h |
+++ b/chrome/browser/webdata/web_data_service.h |
@@ -18,7 +18,6 @@ |
#include "base/location.h" |
#include "base/memory/ref_counted.h" |
#include "base/sequenced_task_runner_helpers.h" |
-#include "base/synchronization/lock.h" |
#include "chrome/browser/api/webdata/autofill_web_data_service.h" |
#include "chrome/browser/api/webdata/web_data_results.h" |
#include "chrome/browser/api/webdata/web_data_service_base.h" |
@@ -107,7 +106,8 @@ class WebDataService |
static scoped_refptr<WebDataService> FromBrowserContext( |
content::BrowserContext* context); |
- explicit WebDataService(const ProfileErrorCallback& callback); |
+ WebDataService(scoped_refptr<WebDatabaseService> wdbs, |
+ const ProfileErrorCallback& callback); |
// Notifies listeners on the UI thread that multiple changes have been made to |
// to Autofill records of the database. |
@@ -116,8 +116,6 @@ class WebDataService |
// |web_data_service| may be NULL for testing purposes. |
static void NotifyOfMultipleAutofillChanges(WebDataService* web_data_service); |
- |
- |
////////////////////////////////////////////////////////////////////////////// |
// |
// Keywords |
@@ -300,7 +298,7 @@ class WebDataService |
private: |
////////////////////////////////////////////////////////////////////////////// |
// |
- // The following methods are only invoked in the web data service thread. |
+ // The following methods are only invoked on the DB thread. |
// |
////////////////////////////////////////////////////////////////////////////// |