Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2774)

Unified Diff: chrome/browser/autofill/wallet/wallet_test_util.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/wallet/wallet_test_util.h ('k') | chrome/browser/automation/automation_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/wallet/wallet_test_util.cc
diff --git a/chrome/browser/autofill/wallet/wallet_test_util.cc b/chrome/browser/autofill/wallet/wallet_test_util.cc
deleted file mode 100644
index 6b729b6c9802539e7053e47bf03b41743d9c6ff4..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/wallet/wallet_test_util.cc
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/autofill/wallet/wallet_test_util.h"
-
-#include "base/utf_string_conversions.h"
-#include "chrome/browser/autofill/wallet/instrument.h"
-#include "chrome/browser/autofill/wallet/wallet_address.h"
-
-namespace autofill {
-namespace wallet {
-
-scoped_ptr<Instrument> GetTestInstrument() {
- return scoped_ptr<Instrument>(new Instrument(ASCIIToUTF16("4444444444444448"),
- ASCIIToUTF16("123"),
- 12,
- 2012,
- Instrument::VISA,
- GetTestAddress().Pass()));
-}
-
-scoped_ptr<Address> GetTestShippingAddress() {
- return scoped_ptr<Address>(new Address(
- "ship_country_name_code",
- ASCIIToUTF16("ship_recipient_name"),
- ASCIIToUTF16("ship_address_line_1"),
- ASCIIToUTF16("ship_address_line_2"),
- ASCIIToUTF16("ship_locality_name"),
- ASCIIToUTF16("ship_admin_area_name"),
- ASCIIToUTF16("ship_postal_code_number"),
- ASCIIToUTF16("ship_phone_number"),
- std::string()));
-}
-
-scoped_ptr<Address> GetTestAddress() {
- return scoped_ptr<Address>(new Address("country_name_code",
- ASCIIToUTF16("recipient_name"),
- ASCIIToUTF16("address_line_1"),
- ASCIIToUTF16("address_line_2"),
- ASCIIToUTF16("locality_name"),
- ASCIIToUTF16("admin_area_name"),
- ASCIIToUTF16("postal_code_number"),
- ASCIIToUTF16("phone_number"),
- std::string()));
-}
-
-} // namespace wallet
-} // namespace autofill
« no previous file with comments | « chrome/browser/autofill/wallet/wallet_test_util.h ('k') | chrome/browser/automation/automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698