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

Unified Diff: components/autofill/browser/autocomplete_history_manager_unittest.cc

Issue 12780012: Move UI dependency from WebDataService to WebDataServiceFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/browser/autocomplete_history_manager_unittest.cc
diff --git a/components/autofill/browser/autocomplete_history_manager_unittest.cc b/components/autofill/browser/autocomplete_history_manager_unittest.cc
index 2d2bb4dbbbcdbf49125b630b21e917a711bddd3f..fe2967de8a9b0dbb9f8578b3f8456069f8151af9 100644
--- a/components/autofill/browser/autocomplete_history_manager_unittest.cc
+++ b/components/autofill/browser/autocomplete_history_manager_unittest.cc
@@ -32,7 +32,8 @@ namespace {
class MockWebDataService : public WebDataService {
public:
- MockWebDataService() {
+ MockWebDataService()
+ : WebDataService(WebDataServiceBase::ProfileErrorCallback()) {
Cait (Slow) 2013/03/18 16:16:37 I wonder if it's worth having a default ctor on WD
Jói 2013/03/18 23:21:23 Added such a protected constructor, so mock versio
current_mock_web_data_service_ = this;
}

Powered by Google App Engine
This is Rietveld 408576698