Index: chrome/browser/autofill/autofill_metrics_unittest.cc |
diff --git a/chrome/browser/autofill/autofill_metrics_unittest.cc b/chrome/browser/autofill/autofill_metrics_unittest.cc |
index 1037c68ad5cb7720e02e9d5b62403aea5cf81630..e601030c1c314a3ce10ee8d2274076fbd25879a4 100644 |
--- a/chrome/browser/autofill/autofill_metrics_unittest.cc |
+++ b/chrome/browser/autofill/autofill_metrics_unittest.cc |
@@ -15,6 +15,7 @@ |
#include "chrome/browser/autofill/autofill_metrics.h" |
#include "chrome/browser/autofill/personal_data_manager.h" |
#include "chrome/browser/autofill/personal_data_manager_factory.h" |
+#include "chrome/browser/ui/autofill/tab_autofill_manager_delegate.h" |
#include "chrome/browser/ui/tab_contents/tab_contents.h" |
#include "chrome/browser/ui/tab_contents/test_tab_contents.h" |
#include "chrome/browser/webdata/web_data_service.h" |
@@ -174,7 +175,8 @@ class TestAutofillManager : public AutofillManager { |
public: |
TestAutofillManager(TabContents* tab_contents, |
TestPersonalDataManager* personal_manager) |
- : AutofillManager(tab_contents, personal_manager), |
+ : AutofillManager(&autofill_delegate_, tab_contents, personal_manager), |
+ autofill_delegate_(tab_contents), |
autofill_enabled_(true), |
did_finish_async_form_submit_(false), |
message_loop_is_running_(false) { |
@@ -245,6 +247,8 @@ class TestAutofillManager : public AutofillManager { |
// AutofillManager is ref counted. |
virtual ~TestAutofillManager() {} |
+ TabAutofillManagerDelegate autofill_delegate_; |
+ |
bool autofill_enabled_; |
bool did_finish_async_form_submit_; |
bool message_loop_is_running_; |