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

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

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_PROFILE_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_PROFILE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <iosfwd> 10 #include <iosfwd>
11 #include <list> 11 #include <list>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "chrome/browser/autofill/address.h" 16 #include "components/autofill/browser/address.h"
17 #include "chrome/browser/autofill/autofill_type.h" 17 #include "components/autofill/browser/autofill_type.h"
18 #include "chrome/browser/autofill/contact_info.h" 18 #include "components/autofill/browser/contact_info.h"
19 #include "chrome/browser/autofill/field_types.h" 19 #include "components/autofill/browser/field_types.h"
20 #include "chrome/browser/autofill/form_group.h" 20 #include "components/autofill/browser/form_group.h"
21 #include "chrome/browser/autofill/phone_number.h" 21 #include "components/autofill/browser/phone_number.h"
22 22
23 struct FormFieldData; 23 struct FormFieldData;
24 24
25 // A collection of FormGroups stored in a profile. AutofillProfile also 25 // A collection of FormGroups stored in a profile. AutofillProfile also
26 // implements the FormGroup interface so that owners of this object can request 26 // implements the FormGroup interface so that owners of this object can request
27 // form information from the profile, and the profile will delegate the request 27 // form information from the profile, and the profile will delegate the request
28 // to the requested form group type. 28 // to the requested form group type.
29 class AutofillProfile : public FormGroup { 29 class AutofillProfile : public FormGroup {
30 public: 30 public:
31 explicit AutofillProfile(const std::string& guid); 31 explicit AutofillProfile(const std::string& guid);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 std::vector<NameInfo> name_; 201 std::vector<NameInfo> name_;
202 std::vector<EmailInfo> email_; 202 std::vector<EmailInfo> email_;
203 CompanyInfo company_; 203 CompanyInfo company_;
204 std::vector<PhoneNumber> home_number_; 204 std::vector<PhoneNumber> home_number_;
205 Address address_; 205 Address address_;
206 }; 206 };
207 207
208 // So we can compare AutofillProfiles with EXPECT_EQ(). 208 // So we can compare AutofillProfiles with EXPECT_EQ().
209 std::ostream& operator<<(std::ostream& os, const AutofillProfile& profile); 209 std::ostream& operator<<(std::ostream& os, const AutofillProfile& profile);
210 210
211 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_PROFILE_H_ 211 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_PROFILE_H_
OLDNEW
« no previous file with comments | « components/autofill/browser/autofill_popup_delegate.h ('k') | components/autofill/browser/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698