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

Unified Diff: chrome/browser/autofill/home_phone_number.h

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/address_field.cc ('k') | chrome/browser/autofill/home_phone_number.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/home_phone_number.h
diff --git a/chrome/browser/autofill/home_phone_number.h b/chrome/browser/autofill/home_phone_number.h
index e2aba0a3b8e2dacaab4351ab455c9ada165e45f2..3e311e627c27ff609746acd96a7c9bc71ed2ac6c 100644
--- a/chrome/browser/autofill/home_phone_number.h
+++ b/chrome/browser/autofill/home_phone_number.h
@@ -13,28 +13,14 @@ class FormGroup;
class HomePhoneNumber : public PhoneNumber {
public:
HomePhoneNumber() {}
- virtual FormGroup* Clone() const { return new HomePhoneNumber(*this); }
+ virtual FormGroup* Clone() const;
protected:
- virtual AutoFillFieldType GetNumberType() const {
- return PHONE_HOME_NUMBER;
- }
-
- virtual AutoFillFieldType GetCityCodeType() const {
- return PHONE_HOME_CITY_CODE;
- }
-
- virtual AutoFillFieldType GetCountryCodeType() const {
- return PHONE_HOME_COUNTRY_CODE;
- }
-
- virtual AutoFillFieldType GetCityAndNumberType() const {
- return PHONE_HOME_CITY_AND_NUMBER;
- }
-
- virtual AutoFillFieldType GetWholeNumberType() const {
- return PHONE_HOME_WHOLE_NUMBER;
- }
+ virtual AutoFillFieldType GetNumberType() const;
+ virtual AutoFillFieldType GetCityCodeType() const;
+ virtual AutoFillFieldType GetCountryCodeType() const;
+ virtual AutoFillFieldType GetCityAndNumberType() const;
+ virtual AutoFillFieldType GetWholeNumberType() const;
private:
explicit HomePhoneNumber(const HomePhoneNumber& phone) : PhoneNumber(phone) {}
« no previous file with comments | « chrome/browser/autofill/address_field.cc ('k') | chrome/browser/autofill/home_phone_number.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698