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

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

Issue 5913004: Clean up AutoFillProfile::CreateInferredLabels() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « no previous file | chrome/browser/autofill/autofill_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_profile.h
diff --git a/chrome/browser/autofill/autofill_profile.h b/chrome/browser/autofill/autofill_profile.h
index 240f4065f6e70b2562083bac58b48208c5de86b1..bf6fc12b4ded2f02ea172494b6d9006c2cb61b00 100644
--- a/chrome/browser/autofill/autofill_profile.h
+++ b/chrome/browser/autofill/autofill_profile.h
@@ -111,12 +111,9 @@ class AutoFillProfile : public FormGroup {
private:
Address* GetHomeAddress();
- // Builds inferred label, includes first non-empty field at the beginning,
- // even if it matches for all.
- // |included_fields| - array of the fields, that needs to be included in this
- // label.
+ // Builds inferred label from all non-empty fields in |included_fields|.
string16 ConstructInferredLabel(
- const std::vector<AutoFillFieldType>* included_fields) const;
+ const std::vector<AutoFillFieldType>& included_fields) const;
// The label presented to the user when selecting a profile.
string16 label_;
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698