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

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

Issue 2844463004: Rename card 'type' into 'issuer network.' (Closed)
Patch Set: read -> use Created 3 years, 7 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
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_VALIDATION_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_VALIDATION_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_VALIDATION_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_VALIDATION_H_
7 7
8 #include <set>
9 #include <string>
10
8 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
9 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece_forward.h"
10 #include "components/autofill/core/browser/field_types.h" 13 #include "components/autofill/core/browser/field_types.h"
11 14
12 namespace base { 15 namespace base {
13 class Time; 16 class Time;
14 } // namespace base 17 } // namespace base
15 18
16 namespace autofill { 19 namespace autofill {
17 20
18 class CreditCard; 21 class CreditCard;
19 22
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // Returns the expected CVC length based on the |card_type|. 95 // Returns the expected CVC length based on the |card_type|.
93 size_t GetCvcLengthForCardType(const base::StringPiece card_type); 96 size_t GetCvcLengthForCardType(const base::StringPiece card_type);
94 97
95 // Returns true if |value| appears to be a UPI Virtual Payment Address. 98 // Returns true if |value| appears to be a UPI Virtual Payment Address.
96 // https://upipayments.co.in/virtual-payment-address-vpa/ 99 // https://upipayments.co.in/virtual-payment-address-vpa/
97 bool IsUPIVirtualPaymentAddress(const base::string16& value); 100 bool IsUPIVirtualPaymentAddress(const base::string16& value);
98 101
99 } // namespace autofill 102 } // namespace autofill
100 103
101 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_VALIDATION_H_ 104 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_VALIDATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698