diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-21 03:41:29 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-21 03:41:29 +0000 |
commit | d78ef705947b6f3bb52aa10cdf3ed21b579bf507 (patch) | |
tree | af16a66705dcab124b7ad7847eb38e7d222c21c9 /chrome/browser/autofill/phone_field.h | |
parent | 53aacae5fea0264040b0d0a5cdd40e202527b80d (diff) | |
download | chromium_src-d78ef705947b6f3bb52aa10cdf3ed21b579bf507.zip chromium_src-d78ef705947b6f3bb52aa10cdf3ed21b579bf507.tar.gz chromium_src-d78ef705947b6f3bb52aa10cdf3ed21b579bf507.tar.bz2 |
AutoFill: Use DISALLOW_COPY_AND_ASSIGN where possible.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2872008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/phone_field.h')
-rw-r--r-- | chrome/browser/autofill/phone_field.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/autofill/phone_field.h b/chrome/browser/autofill/phone_field.h index 72c5c2f..6a3c934 100644 --- a/chrome/browser/autofill/phone_field.h +++ b/chrome/browser/autofill/phone_field.h @@ -25,17 +25,17 @@ class PhoneField : public FormField { virtual bool GetFieldInfo(FieldTypeMap* field_type_map) const; - protected: + private: PhoneField(); - explicit PhoneField(const PhoneField& phone_field); - private: // Always present; holds suffix if prefix is present. AutoFillField* phone_; AutoFillField* area_code_; // optional AutoFillField* prefix_; // optional AutoFillField* extension_; // optional + + DISALLOW_COPY_AND_ASSIGN(PhoneField); }; #endif // CHROME_BROWSER_AUTOFILL_PHONE_FIELD_H_ |