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

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

Issue 13488009: Remove application locale cache in autofill code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 8 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
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // Returns a string that summarizes this address, suitable for display to 82 // Returns a string that summarizes this address, suitable for display to
83 // the user. 83 // the user.
84 string16 DisplayName() const; 84 string16 DisplayName() const;
85 85
86 // Returns a string that could be used as a sub-label, suitable for display 86 // Returns a string that could be used as a sub-label, suitable for display
87 // to the user together with DisplayName(). 87 // to the user together with DisplayName().
88 string16 DisplayNameDetail() const; 88 string16 DisplayNameDetail() const;
89 89
90 // Returns data appropriate for |type|. 90 // Returns data appropriate for |type|.
91 string16 GetInfo(AutofillFieldType type) const; 91 string16 GetInfo(AutofillFieldType type,
92 const std::string& app_locale) const;
92 93
93 const std::string& country_name_code() const { return country_name_code_; } 94 const std::string& country_name_code() const { return country_name_code_; }
94 const string16& recipient_name() const { return recipient_name_; } 95 const string16& recipient_name() const { return recipient_name_; }
95 const string16& address_line_1() const { return address_line_1_; } 96 const string16& address_line_1() const { return address_line_1_; }
96 const string16& address_line_2() const { return address_line_2_; } 97 const string16& address_line_2() const { return address_line_2_; }
97 const string16& locality_name() const { return locality_name_; } 98 const string16& locality_name() const { return locality_name_; }
98 const string16& administrative_area_name() const { 99 const string16& administrative_area_name() const {
99 return administrative_area_name_; 100 return administrative_area_name_;
100 } 101 }
101 const string16& postal_code_number() const { return postal_code_number_; } 102 const string16& postal_code_number() const { return postal_code_number_; }
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 std::string object_id_; 172 std::string object_id_;
172 173
173 // This class is intentionally copyable. 174 // This class is intentionally copyable.
174 DISALLOW_ASSIGN(Address); 175 DISALLOW_ASSIGN(Address);
175 }; 176 };
176 177
177 } // namespace wallet 178 } // namespace wallet
178 } // namespace autofill 179 } // namespace autofill
179 180
180 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_ADDRESS_H_ 181 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_ADDRESS_H_
OLDNEW
« no previous file with comments | « components/autofill/browser/phone_number_i18n_unittest.cc ('k') | components/autofill/browser/wallet/wallet_address.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698