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

Side by Side Diff: components/autofill/browser/wallet/wallet_address.h

Issue 15892013: Make suggestions invalid when no phone number is attached to an address. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/autofill/data_model_wrapper_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_ADDRESS_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_ADDRESS_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_ADDRESS_H_ 6 #define COMPONENTS_AUTOFILL_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"
(...skipping 16 matching lines...) Expand all
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,
37 // is_minimal_address, is_valid, is_default) when SaveToWallet is implemented. 37 // is_valid, is_default) when SaveToWallet is implemented.
38 // See http://crbug.com/164284. 38 // See http://crbug.com/164284.
39 39
40 Address(); 40 Address();
41 41
42 // Using the raw info in |profile|, create a wallet::Address. 42 // Using the raw info in |profile|, create a wallet::Address.
43 explicit Address(const AutofillProfile& profile); 43 explicit Address(const AutofillProfile& profile);
44 44
45 Address(const std::string& country_name_code, 45 Address(const std::string& country_name_code,
46 const base::string16& recipient_name, 46 const base::string16& recipient_name,
47 const base::string16& address_line_1, 47 const base::string16& address_line_1,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool is_complete_address_; 191 bool is_complete_address_;
192 192
193 // This class is intentionally copyable. 193 // This class is intentionally copyable.
194 DISALLOW_ASSIGN(Address); 194 DISALLOW_ASSIGN(Address);
195 }; 195 };
196 196
197 } // namespace wallet 197 } // namespace wallet
198 } // namespace autofill 198 } // namespace autofill
199 199
200 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_ADDRESS_H_ 200 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_ADDRESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/data_model_wrapper_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698