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

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

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CONTACT_INFO_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_
6 #define CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ 6 #define CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "chrome/browser/autofill/form_group.h" 12 #include "chrome/browser/autofill/form_group.h"
13 13
14 typedef std::vector<string16> NameTokens; 14 typedef std::vector<string16> NameTokens;
15 15
16 // A form group that stores contact information. 16 // A form group that stores contact information.
17 class ContactInfo : public FormGroup { 17 class ContactInfo : public FormGroup {
18 public: 18 public:
19 ContactInfo() {} 19 ContactInfo();
20 virtual ~ContactInfo();
20 21
21 // FormGroup implementation: 22 // FormGroup implementation:
22 virtual FormGroup* Clone() const; 23 virtual FormGroup* Clone() const;
23 virtual void GetPossibleFieldTypes(const string16& text, 24 virtual void GetPossibleFieldTypes(const string16& text,
24 FieldTypeSet* possible_types) const; 25 FieldTypeSet* possible_types) const;
25 virtual void GetAvailableFieldTypes(FieldTypeSet* available_types) const; 26 virtual void GetAvailableFieldTypes(FieldTypeSet* available_types) const;
26 virtual void FindInfoMatches(const AutoFillType& type, 27 virtual void FindInfoMatches(const AutoFillType& type,
27 const string16& info, 28 const string16& info,
28 std::vector<string16>* matched_text) const; 29 std::vector<string16>* matched_text) const;
29 virtual string16 GetFieldText(const AutoFillType& type) const; 30 virtual string16 GetFieldText(const AutoFillType& type) const;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Contact information data. 107 // Contact information data.
107 string16 first_; 108 string16 first_;
108 string16 middle_; 109 string16 middle_;
109 string16 last_; 110 string16 last_;
110 string16 suffix_; 111 string16 suffix_;
111 string16 email_; 112 string16 email_;
112 string16 company_name_; 113 string16 company_name_;
113 }; 114 };
114 115
115 #endif // CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ 116 #endif // CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698