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

Side by Side Diff: components/autofill/core/browser/credit_card.h

Issue 18927003: [Autofill] Don't validate China UnionPay cards with the Luhn checksum. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Parens for order of operations Created 7 years, 5 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
« no previous file with comments | « no previous file | components/autofill/core/browser/credit_card.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // So we can compare CreditCards with EXPECT_EQ(). 158 // So we can compare CreditCards with EXPECT_EQ().
159 std::ostream& operator<<(std::ostream& os, const CreditCard& credit_card); 159 std::ostream& operator<<(std::ostream& os, const CreditCard& credit_card);
160 160
161 // The string identifiers for credit card icon resources. 161 // The string identifiers for credit card icon resources.
162 extern const char* const kAmericanExpressCard; 162 extern const char* const kAmericanExpressCard;
163 extern const char* const kDinersCard; 163 extern const char* const kDinersCard;
164 extern const char* const kDiscoverCard; 164 extern const char* const kDiscoverCard;
165 extern const char* const kGenericCard; 165 extern const char* const kGenericCard;
166 extern const char* const kJCBCard; 166 extern const char* const kJCBCard;
167 extern const char* const kMasterCard; 167 extern const char* const kMasterCard;
168 extern const char* const kUnionPay;
168 extern const char* const kVisaCard; 169 extern const char* const kVisaCard;
169 170
170 } // namespace autofill 171 } // namespace autofill
171 172
172 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_ 173 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_CREDIT_CARD_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/core/browser/credit_card.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698