Chromium Code Reviews| 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..32ebd4f213e57f31885f3e2898b151e1c68a93d8 100644 |
| --- a/chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc |
| +++ b/chrome/browser/autofill/autofill_cc_infobar_delegate_unittest.cc |
| @@ -2,7 +2,7 @@ |
| // 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" |
|
Ilya Sherman
2014/11/19 21:22:46
Can this entire test file be moved into the compon
droger
2014/11/20 13:18:07
This file has a still a lot of //chrome dependency
Pritam Nikam
2014/11/21 08:26:25
I'll be doing this in seperate CL. As it has depen
|
| #include "base/memory/scoped_ptr.h" |
| #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| @@ -96,11 +96,10 @@ AutofillCCInfobarDelegateTest::CreateDelegate( |
| CreditCard credit_card; |
| return AutofillCCInfoBarDelegate::Create( |
| - metric_logger, |
| + 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. |