| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/autofill/content/browser/wallet/wallet_test_util.h" | 5 #include "components/autofill/content/browser/wallet/wallet_test_util.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "components/autofill/content/browser/wallet/full_wallet.h" | 14 #include "components/autofill/content/browser/wallet/full_wallet.h" |
| 15 #include "components/autofill/content/browser/wallet/gaia_account.h" | 15 #include "components/autofill/content/browser/wallet/gaia_account.h" |
| 16 #include "components/autofill/content/browser/wallet/instrument.h" | 16 #include "components/autofill/content/browser/wallet/instrument.h" |
| 17 #include "components/autofill/content/browser/wallet/required_action.h" | 17 #include "components/autofill/content/browser/wallet/required_action.h" |
| 18 #include "components/autofill/content/browser/wallet/wallet_address.h" | 18 #include "components/autofill/content/browser/wallet/wallet_address.h" |
| 19 | 19 |
| 20 using base::ASCIIToUTF16; |
| 21 |
| 20 namespace autofill { | 22 namespace autofill { |
| 21 namespace wallet { | 23 namespace wallet { |
| 22 | 24 |
| 23 namespace { | 25 namespace { |
| 24 | 26 |
| 25 int FutureYear() { | 27 int FutureYear() { |
| 26 // "In the Year 3000." - Richie "LaBamba" Rosenberg | 28 // "In the Year 3000." - Richie "LaBamba" Rosenberg |
| 27 return 3000; | 29 return 3000; |
| 28 } | 30 } |
| 29 | 31 |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 GetTestWalletItemsWithDetails(std::vector<RequiredAction>(), | 289 GetTestWalletItemsWithDetails(std::vector<RequiredAction>(), |
| 288 default_instrument_id, | 290 default_instrument_id, |
| 289 default_address_id, | 291 default_address_id, |
| 290 amex_permission); | 292 amex_permission); |
| 291 items->AddAccount(GetTestGaiaAccount()); | 293 items->AddAccount(GetTestGaiaAccount()); |
| 292 return items.Pass(); | 294 return items.Pass(); |
| 293 } | 295 } |
| 294 | 296 |
| 295 } // namespace wallet | 297 } // namespace wallet |
| 296 } // namespace autofill | 298 } // namespace autofill |
| OLD | NEW |