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

Unified Diff: components/autofill/core/browser/autocomplete_history_manager_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: components/autofill/core/browser/autocomplete_history_manager_unittest.cc
diff --git a/components/autofill/core/browser/autocomplete_history_manager_unittest.cc b/components/autofill/core/browser/autocomplete_history_manager_unittest.cc
index f2cf35788ab031177d0a25ba086cd8fcc76d4868..10347adc29c1f01fc38a7be35983d5fb8c01a543 100644
--- a/components/autofill/core/browser/autocomplete_history_manager_unittest.cc
+++ b/components/autofill/core/browser/autocomplete_history_manager_unittest.cc
@@ -5,6 +5,7 @@
#include <vector>
#include "base/memory/ref_counted.h"
+#include "base/message_loop/message_loop_proxy.h"
#include "base/prefs/testing_pref_service.h"
#include "base/run_loop.h"
#include "base/strings/string16.h"
@@ -37,7 +38,8 @@ namespace {
class MockWebDataService : public AutofillWebDataService {
public:
MockWebDataService()
- : AutofillWebDataService() {
+ : AutofillWebDataService(base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current()) {
current_mock_web_data_service_ = this;
}

Powered by Google App Engine
This is Rietveld 408576698