| Index: chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc
|
| diff --git a/chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc b/chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc
|
| index 2b5e9a47e5693c9924a47871e97c3771627ce818..3c4ba09b74326e9467fc4395779939137df59784 100644
|
| --- a/chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc
|
| +++ b/chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc
|
| @@ -2,13 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/autofill/autofill_cc_infobar_delegate.h"
|
| +#include "components/autofill/content/browser/autofill_cc_infobar_delegate.h"
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "chrome/browser/autofill/personal_data_manager_factory.h"
|
| #include "chrome/browser/ui/autofill/chrome_autofill_client.h"
|
| #include "chrome/test/base/chrome_render_view_host_test_harness.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| +#include "components/autofill/content/browser/content_autofill_driver.h"
|
| #include "components/autofill/core/browser/autofill_metrics.h"
|
| #include "components/autofill/core/browser/autofill_test_utils.h"
|
| #include "components/autofill/core/browser/personal_data_manager.h"
|
| @@ -96,11 +97,10 @@ AutofillCCInfobarDelegateTest::CreateDelegate(
|
|
|
| CreditCard credit_card;
|
| return AutofillCCInfoBarDelegate::Create(
|
| - metric_logger,
|
| + ContentAutofillDriver::FromWebContents(web_contents()), metric_logger,
|
| base::Bind(
|
| base::IgnoreResult(&TestPersonalDataManager::SaveImportedCreditCard),
|
| - base::Unretained(personal_data_.get()),
|
| - credit_card));
|
| + base::Unretained(personal_data_.get()), credit_card));
|
| }
|
|
|
| // Test that credit card infobar metrics are logged correctly.
|
|
|