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

Unified Diff: chrome/browser/autofill/form_group.cc

Issue 11360055: [Autofill] Rename GetInfo and SetInfo to GetRawInfo and SetRawInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase harder 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
« no previous file with comments | « chrome/browser/autofill/form_group.h ('k') | chrome/browser/autofill/personal_data_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/form_group.cc
diff --git a/chrome/browser/autofill/form_group.cc b/chrome/browser/autofill/form_group.cc
index 4a853ebfcf84d8ccf66a5cea106a3eeb2409cb31..fcc8e95e9d8c8dacc9ceb45005c65c2c4407c403 100644
--- a/chrome/browser/autofill/form_group.cc
+++ b/chrome/browser/autofill/form_group.cc
@@ -22,7 +22,7 @@ void FormGroup::GetMatchingTypes(const string16& text,
// TODO(isherman): Matches are case-sensitive for now. Let's keep an eye on
// this and decide whether there are compelling reasons to add case-
// insensitivity.
- if (GetInfo(*type) == text)
+ if (GetRawInfo(*type) == text)
matching_types->insert(*type);
}
}
@@ -32,17 +32,17 @@ void FormGroup::GetNonEmptyTypes(FieldTypeSet* non_empty_types) const {
GetSupportedTypes(&types);
for (FieldTypeSet::const_iterator type = types.begin();
type != types.end(); ++type) {
- if (!GetInfo(*type).empty())
+ if (!GetRawInfo(*type).empty())
non_empty_types->insert(*type);
}
}
string16 FormGroup::GetCanonicalizedInfo(AutofillFieldType type) const {
- return GetInfo(type);
+ return GetRawInfo(type);
}
bool FormGroup::SetCanonicalizedInfo(AutofillFieldType type,
const string16& value) {
- SetInfo(type, value);
+ SetRawInfo(type, value);
return true;
}
« no previous file with comments | « chrome/browser/autofill/form_group.h ('k') | chrome/browser/autofill/personal_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698