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

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

Issue 7981047: Allow word separators in a few more Autofill regexes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 3 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/autofill_regex_constants.cc.utf8 ('k') | chrome/browser/autofill/form_structure.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/form_structure.h
diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h
index 9824c36294e9594013a75b3c135df2e0c6bbbfc3..225a8562619a59ebe260e9b20256e0b7ea825cd4 100644
--- a/chrome/browser/autofill/form_structure.h
+++ b/chrome/browser/autofill/form_structure.h
@@ -173,8 +173,11 @@ class FormStructure {
// Classifies each field in |fields_| into a logical section.
// Sections are identified by the heuristic that a logical section should not
// include multiple fields of the same autofill type (with some exceptions, as
- // described in the implementation).
- void IdentifySections();
+ // described in the implementation). Sections are furthermore distinguished
+ // as either credit card or non-credit card sections.
+ // If |has_author_specified_sections| is true, only the second pass --
+ // distinguishing credit card sections from non-credit card ones -- is made.
+ void IdentifySections(bool has_author_specified_sections);
// The name of the form.
string16 form_name_;
« no previous file with comments | « chrome/browser/autofill/autofill_regex_constants.cc.utf8 ('k') | chrome/browser/autofill/form_structure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698