| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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/credit_card.h" |    5 #include "chrome/browser/autofill/credit_card.h" | 
|    6  |    6  | 
|    7 #include <stddef.h> |    7 #include <stddef.h> | 
|    8  |    8  | 
|    9 #include <ostream> |    9 #include <ostream> | 
|   10 #include <string> |   10 #include <string> | 
|   11  |   11  | 
|   12 #include "base/basictypes.h" |   12 #include "base/basictypes.h" | 
|   13 #include "base/guid.h" |   13 #include "base/guid.h" | 
|   14 #include "base/logging.h" |   14 #include "base/logging.h" | 
|   15 #include "base/string16.h" |   15 #include "base/string16.h" | 
|   16 #include "base/string_util.h" |   16 #include "base/string_util.h" | 
|   17 #include "base/strings/string_number_conversions.h" |   17 #include "base/strings/string_number_conversions.h" | 
|   18 #include "base/strings/string_split.h" |   18 #include "base/strings/string_split.h" | 
|   19 #include "base/utf_string_conversions.h" |   19 #include "base/utf_string_conversions.h" | 
|   20 #include "chrome/browser/autofill/autofill_country.h" |   20 #include "chrome/browser/autofill/autofill_country.h" | 
|   21 #include "chrome/browser/autofill/autofill_field.h" |   21 #include "chrome/browser/autofill/autofill_field.h" | 
|   22 #include "chrome/browser/autofill/autofill_regexes.h" |   22 #include "chrome/browser/autofill/autofill_regexes.h" | 
|   23 #include "chrome/browser/autofill/autofill_type.h" |   23 #include "chrome/browser/autofill/autofill_type.h" | 
|   24 #include "chrome/browser/autofill/field_types.h" |   24 #include "chrome/browser/autofill/field_types.h" | 
|   25 #include "chrome/browser/autofill/validation.h" |   25 #include "chrome/browser/autofill/validation.h" | 
|   26 #include "chrome/common/form_field_data.h" |   26 #include "components/autofill/common/form_field_data.h" | 
|   27 #include "grit/generated_resources.h" |   27 #include "grit/generated_resources.h" | 
|   28 #include "grit/webkit_resources.h" |   28 #include "grit/webkit_resources.h" | 
|   29 #include "third_party/icu/public/common/unicode/uloc.h" |   29 #include "third_party/icu/public/common/unicode/uloc.h" | 
|   30 #include "third_party/icu/public/i18n/unicode/dtfmtsym.h" |   30 #include "third_party/icu/public/i18n/unicode/dtfmtsym.h" | 
|   31 #include "ui/base/l10n/l10n_util.h" |   31 #include "ui/base/l10n/l10n_util.h" | 
|   32  |   32  | 
|   33 namespace { |   33 namespace { | 
|   34  |   34  | 
|   35 const char16 kCreditCardObfuscationSymbol = '*'; |   35 const char16 kCreditCardObfuscationSymbol = '*'; | 
|   36  |   36  | 
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  669 // webkit/glue. We send these strings to WebKit, which then asks |  669 // webkit/glue. We send these strings to WebKit, which then asks | 
|  670 // WebKitPlatformSupportImpl to load the image data. |  670 // WebKitPlatformSupportImpl to load the image data. | 
|  671 const char* const kAmericanExpressCard = "americanExpressCC"; |  671 const char* const kAmericanExpressCard = "americanExpressCC"; | 
|  672 const char* const kDinersCard = "dinersCC"; |  672 const char* const kDinersCard = "dinersCC"; | 
|  673 const char* const kDiscoverCard = "discoverCC"; |  673 const char* const kDiscoverCard = "discoverCC"; | 
|  674 const char* const kGenericCard = "genericCC"; |  674 const char* const kGenericCard = "genericCC"; | 
|  675 const char* const kJCBCard = "jcbCC"; |  675 const char* const kJCBCard = "jcbCC"; | 
|  676 const char* const kMasterCard = "masterCardCC"; |  676 const char* const kMasterCard = "masterCardCC"; | 
|  677 const char* const kSoloCard = "soloCC"; |  677 const char* const kSoloCard = "soloCC"; | 
|  678 const char* const kVisaCard = "visaCC"; |  678 const char* const kVisaCard = "visaCC"; | 
| OLD | NEW |