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

Unified Diff: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc

Issue 25870002: Abstract BrowserThread knowledge out of AutofillWebDataService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up test constructor Created 7 years, 2 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: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
index 696f5f15970b1417372c2ca79e1d62252fd784e2..bc3fc6682d2ce0b2183c993f78472679d5e7a7d9 100644
--- a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
@@ -57,7 +57,9 @@ class NoOpAutofillBackend : public AutofillWebDataBackend {
class FakeWebDataService : public AutofillWebDataService {
public:
FakeWebDataService()
- : AutofillWebDataService(),
+ : AutofillWebDataService(
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB)),
is_database_loaded_(false),
db_loaded_callback_(base::Callback<void(void)>()){}

Powered by Google App Engine
This is Rietveld 408576698