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

Unified Diff: chrome/browser/ui/webui/options/autofill_options_handler.cc

Issue 22009003: [Autofill] Distinguish between native field types and potentially HTML field types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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
Index: chrome/browser/ui/webui/options/autofill_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/autofill_options_handler.cc b/chrome/browser/ui/webui/options/autofill_options_handler.cc
index e00af5c47698e559c86e7dbe661558133ed1f4ce..f2dad23647515afbae209c7b1a83e224b23b6188 100644
--- a/chrome/browser/ui/webui/options/autofill_options_handler.cc
+++ b/chrome/browser/ui/webui/options/autofill_options_handler.cc
@@ -32,7 +32,7 @@
#include "ui/webui/web_ui_util.h"
using autofill::AutofillCountry;
-using autofill::AutofillFieldType;
+using autofill::ServerFieldType;
using autofill::AutofillProfile;
using autofill::CreditCard;
using autofill::PersonalDataManager;
@@ -77,7 +77,7 @@ void SetCountryData(DictionaryValue* localized_strings) {
// Get the multi-valued element for |type| and return it in |ListValue| form.
void GetValueList(const AutofillProfile& profile,
- AutofillFieldType type,
+ ServerFieldType type,
scoped_ptr<ListValue>* list) {
list->reset(new ListValue);
@@ -95,7 +95,7 @@ void GetValueList(const AutofillProfile& profile,
// Set the multi-valued element for |type| from input |list| values.
void SetValueList(const ListValue* list,
- AutofillFieldType type,
+ ServerFieldType type,
AutofillProfile* profile) {
std::vector<string16> values(list->GetSize());
for (size_t i = 0; i < list->GetSize(); ++i) {
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | chrome/browser/webdata/autofill_profile_syncable_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698