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

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

Issue 6650014: Autofill extend profiles to include multi-valued fields, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/home_phone_number.cc ('k') | chrome/browser/autofill/phone_number.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/phone_number.h
diff --git a/chrome/browser/autofill/phone_number.h b/chrome/browser/autofill/phone_number.h
index 23fcb69c552c4924ba875b8833882078b0913d1a..3c08b9b91fe01777c6f83e49007d56fd3d65634d 100644
--- a/chrome/browser/autofill/phone_number.h
+++ b/chrome/browser/autofill/phone_number.h
@@ -16,10 +16,12 @@
class PhoneNumber : public FormGroup {
public:
PhoneNumber();
+ explicit PhoneNumber(const PhoneNumber& number);
virtual ~PhoneNumber();
+ PhoneNumber& operator=(const PhoneNumber& number);
+
// FormGroup implementation:
- virtual FormGroup* Clone() const = 0;
virtual void GetPossibleFieldTypes(const string16& text,
FieldTypeSet* possible_types) const;
virtual void GetAvailableFieldTypes(FieldTypeSet* available_types) const;
@@ -53,14 +55,9 @@ class PhoneNumber : public FormGroup {
virtual AutofillFieldType GetCityAndNumberType() const = 0;
virtual AutofillFieldType GetWholeNumberType() const = 0;
- protected:
- explicit PhoneNumber(const PhoneNumber& phone_number);
-
private:
FRIEND_TEST_ALL_PREFIXES(PhoneNumberTest, Matcher);
- void operator=(const PhoneNumber& phone_number);
-
const string16& country_code() const { return country_code_; }
const string16& city_code() const { return city_code_; }
const string16& number() const { return number_; }
« no previous file with comments | « chrome/browser/autofill/home_phone_number.cc ('k') | chrome/browser/autofill/phone_number.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698