Index: chrome/browser/autofill/autofill_field.h |
diff --git a/chrome/browser/autofill/autofill_field.h b/chrome/browser/autofill/autofill_field.h |
index 0b2109852f503d3b04931d57d556bf7077df5055..e688fad0fffa346f2fa2d2e4e914335c1d99a318 100644 |
--- a/chrome/browser/autofill/autofill_field.h |
+++ b/chrome/browser/autofill/autofill_field.h |
@@ -56,6 +56,9 @@ class AutofillField : public FormFieldData { |
// field). |
bool IsFieldFillable() const; |
+ void set_default_value(const std::string& value) { default_value_ = value; } |
+ const std::string& default_value() const { return default_value_; } |
+ |
private: |
// The unique name of this field, generated by Autofill. |
string16 unique_name_; |
@@ -76,6 +79,9 @@ class AutofillField : public FormFieldData { |
// Used to track whether this field is a phone prefix or suffix. |
PhonePart phone_part_; |
+ // The default value returned by the Autofill server. |
+ std::string default_value_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AutofillField); |
}; |