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

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

Issue 12897009: Autofill Webdata Split TRY ONLY (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try again 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 039e118daf5ef787a14aef88572dccc414abcef3..03b4636d455d1caea1fe2e0146c21ed072135b0a 100644
--- a/components/autofill/browser/autocomplete_history_manager_unittest.cc
+++ b/components/autofill/browser/autocomplete_history_manager_unittest.cc
@@ -9,7 +9,6 @@
#include "base/string16.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/webdata/autofill_web_data_service_impl.h"
-#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/browser/webdata/web_data_service_factory.h"
#include "chrome/browser/webdata/web_data_service_test_util.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
@@ -31,9 +30,11 @@ using testing::_;
namespace {
-class MockWebDataService : public WebDataService {
+class MockWebDataService : public AutofillWebDataServiceImpl {
public:
- MockWebDataService() {
+ MockWebDataService()
+ : AutofillWebDataServiceImpl(
+ NULL, WebDataServiceBase::ProfileErrorCallback()) {
current_mock_web_data_service_ = this;
}
@@ -65,7 +66,7 @@ class MockWebDataServiceWrapperCurrent : public MockWebDataServiceWrapperBase {
MockWebDataServiceWrapperCurrent() {}
- scoped_refptr<WebDataService> GetWebData() OVERRIDE {
+ scoped_refptr<AutofillWebDataService> GetAutofillWebData() OVERRIDE {
return MockWebDataService::GetCurrent();
}
« no previous file with comments | « chrome/browser/webdata/web_database_service.cc ('k') | components/autofill/browser/autofill_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698