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

Side by Side Diff: components/autofill/core/browser/autofill_profile.h

Issue 1162203004: [Autofill] More variant-related code deletion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_profile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_AUTOFILL_PROFILE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PROFILE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PROFILE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PROFILE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <iosfwd> 10 #include <iosfwd>
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // is not reconstructible via a heuristic parse of the full name string). 233 // is not reconstructible via a heuristic parse of the full name string).
234 void OverwriteName(const NameInfo& name, const std::string& app_locale); 234 void OverwriteName(const NameInfo& name, const std::string& app_locale);
235 235
236 // Same as operator==, but ignores differences in GUID. 236 // Same as operator==, but ignores differences in GUID.
237 bool EqualsSansGuid(const AutofillProfile& profile) const; 237 bool EqualsSansGuid(const AutofillProfile& profile) const;
238 238
239 RecordType record_type_; 239 RecordType record_type_;
240 240
241 // Personal information for this profile. 241 // Personal information for this profile.
242 NameInfo name_; 242 NameInfo name_;
243 std::vector<EmailInfo> email_; 243 EmailInfo email_;
244 CompanyInfo company_; 244 CompanyInfo company_;
245 std::vector<PhoneNumber> phone_number_; 245 PhoneNumber phone_number_;
246 Address address_; 246 Address address_;
247 247
248 // The BCP 47 language code that can be used to format |address_| for display. 248 // The BCP 47 language code that can be used to format |address_| for display.
249 std::string language_code_; 249 std::string language_code_;
250 250
251 // ID used for identifying this profile. Only set for SERVER_PROFILEs. This is 251 // ID used for identifying this profile. Only set for SERVER_PROFILEs. This is
252 // a hash of the contents. 252 // a hash of the contents.
253 std::string server_id_; 253 std::string server_id_;
254 }; 254 };
255 255
256 // So we can compare AutofillProfiles with EXPECT_EQ(). 256 // So we can compare AutofillProfiles with EXPECT_EQ().
257 std::ostream& operator<<(std::ostream& os, const AutofillProfile& profile); 257 std::ostream& operator<<(std::ostream& os, const AutofillProfile& profile);
258 258
259 } // namespace autofill 259 } // namespace autofill
260 260
261 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PROFILE_H_ 261 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PROFILE_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698