| Index: chrome/browser/autofill/autofill_manager_unittest.cc
|
| diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
|
| index ffaa5363bd474b6bdd9a844c05db7ade904b862c..bf6877f00a7acc9d53d0ade744ac78563029952c 100644
|
| --- a/chrome/browser/autofill/autofill_manager_unittest.cc
|
| +++ b/chrome/browser/autofill/autofill_manager_unittest.cc
|
| @@ -183,7 +183,7 @@ void CreateTestAddressFormData(FormData* form) {
|
| form->fields.push_back(field);
|
| }
|
|
|
| -// Populates |form| with data corresponding to a simple credit card form, with.
|
| +// Populates |form| with data corresponding to a simple credit card form.
|
| // Note that this actually appends fields to the form data, which can be useful
|
| // for building up more complex test forms.
|
| void CreateTestCreditCardFormData(FormData* form, bool is_https) {
|
| @@ -364,19 +364,13 @@ void ExpectFilledCreditCardFormElvis(int page_id,
|
| has_address_fields, true);
|
| }
|
|
|
| -} // namespace
|
| -
|
| class TestAutoFillManager : public AutoFillManager {
|
| public:
|
| TestAutoFillManager(TabContents* tab_contents,
|
| TestPersonalDataManager* personal_manager)
|
| - : AutoFillManager(tab_contents, NULL),
|
| + : AutoFillManager(tab_contents, personal_manager),
|
| autofill_enabled_(true) {
|
| test_personal_data_ = personal_manager;
|
| - set_personal_data_manager(personal_manager);
|
| - // Download manager requests are disabled for purposes of this unit test.
|
| - // These requests are tested in autofill_download_unittest.cc.
|
| - set_disable_download_manager_requests(true);
|
| }
|
|
|
| virtual bool IsAutoFillEnabled() const { return autofill_enabled_; }
|
| @@ -425,6 +419,8 @@ class TestAutoFillManager : public AutoFillManager {
|
| DISALLOW_COPY_AND_ASSIGN(TestAutoFillManager);
|
| };
|
|
|
| +} // namespace
|
| +
|
| class AutoFillManagerTest : public RenderViewHostTestHarness {
|
| public:
|
| AutoFillManagerTest() {}
|
|
|