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

Unified Diff: chrome/browser/autofill/address.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/address.h ('k') | chrome/browser/autofill/address_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/address.cc
diff --git a/chrome/browser/autofill/address.cc b/chrome/browser/autofill/address.cc
index 576a31477486735568284325ce42c91bb6594fdd..c5e61edb9c6097bd82a628d5269531aaed150d97 100644
--- a/chrome/browser/autofill/address.cc
+++ b/chrome/browser/autofill/address.cc
@@ -56,7 +56,7 @@ void Address::GetSupportedTypes(FieldTypeSet* supported_types) const {
supported_types->insert(ADDRESS_HOME_COUNTRY);
}
-string16 Address::GetInfo(AutofillFieldType type) const {
+string16 Address::GetRawInfo(AutofillFieldType type) const {
if (type == ADDRESS_HOME_LINE1)
return line1_;
@@ -78,7 +78,7 @@ string16 Address::GetInfo(AutofillFieldType type) const {
return string16();
}
-void Address::SetInfo(AutofillFieldType type, const string16& value) {
+void Address::SetRawInfo(AutofillFieldType type, const string16& value) {
type = AutofillType::GetEquivalentFieldType(type);
if (type == ADDRESS_HOME_LINE1)
line1_ = value;
« no previous file with comments | « chrome/browser/autofill/address.h ('k') | chrome/browser/autofill/address_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698