| 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_CONTENT_BROWSER_WALLET_WALLET_ADDRESS_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_ADDRESS_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_ADDRESS_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_ADDRESS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "components/autofill/browser/field_types.h" | 13 #include "components/autofill/core/browser/field_types.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class DictionaryValue; | 16 class DictionaryValue; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace autofill { | 19 namespace autofill { |
| 20 | 20 |
| 21 class AutofillProfile; | 21 class AutofillProfile; |
| 22 | 22 |
| 23 namespace wallet { | 23 namespace wallet { |
| 24 | 24 |
| 25 // TODO(ahutter): This address is a lot like | 25 // TODO(ahutter): This address is a lot like |
| 26 // components/autofill/browser/address.h. There should be a super | 26 // components/autofill/core/browser/address.h. There should be a super |
| 27 // class that both extend from to clean up duplicated code. See | 27 // class that both extend from to clean up duplicated code. See |
| 28 // http://crbug.com/164463. | 28 // http://crbug.com/164463. |
| 29 | 29 |
| 30 // Address contains various address fields that have been populated from the | 30 // Address contains various address fields that have been populated from the |
| 31 // user's Online Wallet. It is loosely modeled as a subet of the OASIS | 31 // user's Online Wallet. It is loosely modeled as a subet of the OASIS |
| 32 // "extensible Address Language" (xAL); see | 32 // "extensible Address Language" (xAL); see |
| 33 // http://www.oasis-open.org/committees/ciq/download.shtml. | 33 // http://www.oasis-open.org/committees/ciq/download.shtml. |
| 34 class Address { | 34 class Address { |
| 35 public: | 35 public: |
| 36 // TODO(ahutter): Use additional fields (descriptive_name, is_post_box, | 36 // TODO(ahutter): Use additional fields (descriptive_name, is_post_box, |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 bool is_complete_address_; | 192 bool is_complete_address_; |
| 193 | 193 |
| 194 // This class is intentionally copyable. | 194 // This class is intentionally copyable. |
| 195 DISALLOW_ASSIGN(Address); | 195 DISALLOW_ASSIGN(Address); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace wallet | 198 } // namespace wallet |
| 199 } // namespace autofill | 199 } // namespace autofill |
| 200 | 200 |
| 201 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_ADDRESS_H_ | 201 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_WALLET_WALLET_ADDRESS_H_ |
| OLD | NEW |