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

Side by Side Diff: chrome/browser/autofill/autofill_common_unittest.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/autofill/autofill_common_unittest.h" 5 #include "chrome/browser/autofill/autofill_common_unittest.h"
6 6
7 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/autofill/autofill_profile.h" 8 #include "chrome/browser/autofill/autofill_profile.h"
8 #include "chrome/browser/autofill/credit_card.h" 9 #include "chrome/browser/autofill/credit_card.h"
9 #include "webkit/glue/form_field.h" 10 #include "webkit/glue/form_field.h"
10 11
11 namespace autofill_unittest { 12 namespace autofill_unittest {
12 13
13 void CreateTestFormField(const char* label, 14 void CreateTestFormField(const char* label,
14 const char* name, 15 const char* name,
15 const char* value, 16 const char* value,
16 const char* type, 17 const char* type,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 check_and_set(credit_card, CREDIT_CARD_NAME, name_on_card); 56 check_and_set(credit_card, CREDIT_CARD_NAME, name_on_card);
56 check_and_set(credit_card, CREDIT_CARD_TYPE, type); 57 check_and_set(credit_card, CREDIT_CARD_TYPE, type);
57 check_and_set(credit_card, CREDIT_CARD_NUMBER, card_number); 58 check_and_set(credit_card, CREDIT_CARD_NUMBER, card_number);
58 check_and_set(credit_card, CREDIT_CARD_EXP_MONTH, expiration_month); 59 check_and_set(credit_card, CREDIT_CARD_EXP_MONTH, expiration_month);
59 check_and_set(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR, expiration_year); 60 check_and_set(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR, expiration_year);
60 if (billing_address) 61 if (billing_address)
61 credit_card->set_billing_address(ASCIIToUTF16(billing_address)); 62 credit_card->set_billing_address(ASCIIToUTF16(billing_address));
62 } 63 }
63 64
64 } // namespace autofill_unittest 65 } // namespace autofill_unittest
OLDNEW
« no previous file with comments | « chrome/browser/autofill/address_field_unittest.cc ('k') | chrome/browser/autofill/autofill_download_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698