OLD | NEW |
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 #include "components/autofill/content/browser/wallet/full_wallet.h" | 5 #include "components/autofill/content/browser/wallet/full_wallet.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "components/autofill/browser/credit_card.h" | 11 #include "components/autofill/core/browser/credit_card.h" |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 const size_t kPanSize = 16; | 15 const size_t kPanSize = 16; |
16 const size_t kBinSize = 6; | 16 const size_t kBinSize = 6; |
17 const size_t kCvnSize = 3; | 17 const size_t kCvnSize = 3; |
18 | 18 |
19 } // anonymous namespace | 19 } // anonymous namespace |
20 | 20 |
21 namespace autofill { | 21 namespace autofill { |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 } | 274 } |
275 | 275 |
276 const std::string& FullWallet::GetCvn() { | 276 const std::string& FullWallet::GetCvn() { |
277 if (cvn_.empty()) | 277 if (cvn_.empty()) |
278 DecryptCardInfo(); | 278 DecryptCardInfo(); |
279 return cvn_; | 279 return cvn_; |
280 } | 280 } |
281 | 281 |
282 } // namespace wallet | 282 } // namespace wallet |
283 } // namespace autofill | 283 } // namespace autofill |
OLD | NEW |