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

Side by Side Diff: chrome/browser/autofill/autofill_profile.h

Issue 11360055: [Autofill] Rename GetInfo and SetInfo to GetRawInfo and SetRawInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix names in more tests Created 8 years, 1 month 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <iosfwd> 10 #include <iosfwd>
(...skipping 20 matching lines...) Expand all
31 // For use in STL containers. 31 // For use in STL containers.
32 AutofillProfile(); 32 AutofillProfile();
33 AutofillProfile(const AutofillProfile& profile); 33 AutofillProfile(const AutofillProfile& profile);
34 virtual ~AutofillProfile(); 34 virtual ~AutofillProfile();
35 35
36 AutofillProfile& operator=(const AutofillProfile& profile); 36 AutofillProfile& operator=(const AutofillProfile& profile);
37 37
38 // FormGroup: 38 // FormGroup:
39 virtual void GetMatchingTypes(const string16& text, 39 virtual void GetMatchingTypes(const string16& text,
40 FieldTypeSet* matching_types) const OVERRIDE; 40 FieldTypeSet* matching_types) const OVERRIDE;
41 virtual string16 GetInfo(AutofillFieldType type) const OVERRIDE; 41 virtual string16 GetRawInfo(AutofillFieldType type) const OVERRIDE;
42 virtual void SetInfo(AutofillFieldType type, const string16& value) OVERRIDE; 42 virtual void SetRawInfo(AutofillFieldType type,
43 const string16& value) OVERRIDE;
43 virtual string16 GetCanonicalizedInfo(AutofillFieldType type) const OVERRIDE; 44 virtual string16 GetCanonicalizedInfo(AutofillFieldType type) const OVERRIDE;
44 virtual bool SetCanonicalizedInfo(AutofillFieldType type, 45 virtual bool SetCanonicalizedInfo(AutofillFieldType type,
45 const string16& value) OVERRIDE; 46 const string16& value) OVERRIDE;
46 47
47 // Multi-value equivalents to |GetInfo| and |SetInfo|. 48 // Multi-value equivalents to |GetInfo| and |SetInfo|.
48 void SetMultiInfo(AutofillFieldType type, 49 void SetMultiInfo(AutofillFieldType type,
49 const std::vector<string16>& values); 50 const std::vector<string16>& values);
50 void GetMultiInfo(AutofillFieldType type, 51 void GetMultiInfo(AutofillFieldType type,
51 std::vector<string16>* values) const; 52 std::vector<string16>* values) const;
52 void GetCanonicalizedMultiInfo(AutofillFieldType type, 53 void GetCanonicalizedMultiInfo(AutofillFieldType type,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 std::vector<EmailInfo> email_; 179 std::vector<EmailInfo> email_;
179 CompanyInfo company_; 180 CompanyInfo company_;
180 std::vector<PhoneNumber> home_number_; 181 std::vector<PhoneNumber> home_number_;
181 Address address_; 182 Address address_;
182 }; 183 };
183 184
184 // So we can compare AutofillProfiles with EXPECT_EQ(). 185 // So we can compare AutofillProfiles with EXPECT_EQ().
185 std::ostream& operator<<(std::ostream& os, const AutofillProfile& profile); 186 std::ostream& operator<<(std::ostream& os, const AutofillProfile& profile);
186 187
187 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ 188 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698