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

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

Issue 11348273: [autofill] Fill in values on a successful run of interactive autocomplete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: isherman@ review Created 8 years, 1 month 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
Index: chrome/browser/autofill/form_structure.h
diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h
index 5f96e6c6d6240595955aa385459ecf05273f15e5..d3a0268af124e27ee56e8c0258a805b4a55898b4 100644
--- a/chrome/browser/autofill/form_structure.h
+++ b/chrome/browser/autofill/form_structure.h
@@ -145,6 +145,10 @@ class FormStructure {
virtual std::string server_experiment_id() const;
+ // Puts the data this form structure knows about into |out_data|.
+ // |out_data->user_initiated| will always be false.
Ilya Sherman 2012/11/29 00:08:59 nit: "user_initiated" -> "user_submitted"
+ void ToFormData(FormData* out_data) const;
Evan Stade 2012/11/28 22:45:51 return FormData*
Ilya Sherman 2012/11/29 00:08:59 Conceptually this function signature should be "Fo
Evan Stade 2012/11/29 00:20:59 yes, FormGroup is correct rather than FormGroup*.
Ilya Sherman 2012/11/29 00:26:43 Fair enough -- we're about to make another copy of
+
bool operator==(const FormData& form) const;
bool operator!=(const FormData& form) const;

Powered by Google App Engine
This is Rietveld 408576698