| 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | |
| 12 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 13 #include "components/autofill/core/browser/form_group.h" | 12 #include "components/autofill/core/browser/form_group.h" |
| 14 #include "components/autofill/core/browser/phone_number_i18n.h" | 13 #include "components/autofill/core/browser/phone_number_i18n.h" |
| 15 | 14 |
| 16 namespace autofill { | 15 namespace autofill { |
| 17 | 16 |
| 18 class AutofillProfile; | 17 class AutofillProfile; |
| 19 | 18 |
| 20 // A form group that stores phone number information. | 19 // A form group that stores phone number information. |
| 21 class PhoneNumber : public FormGroup { | 20 class PhoneNumber : public FormGroup { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 // Profile which stores the region used as hint when normalizing the number. | 86 // Profile which stores the region used as hint when normalizing the number. |
| 88 const AutofillProfile* profile_; // WEAK | 87 const AutofillProfile* profile_; // WEAK |
| 89 | 88 |
| 90 // Cached number. | 89 // Cached number. |
| 91 mutable i18n::PhoneObject cached_parsed_phone_; | 90 mutable i18n::PhoneObject cached_parsed_phone_; |
| 92 }; | 91 }; |
| 93 | 92 |
| 94 } // namespace autofill | 93 } // namespace autofill |
| 95 | 94 |
| 96 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_ | 95 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PHONE_NUMBER_H_ |
| OLD | NEW |