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

Unified Diff: chrome/browser/webdata/autofill_profile_syncable_service.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/webdata/autofill_profile_syncable_service.cc
diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.cc b/chrome/browser/webdata/autofill_profile_syncable_service.cc
index 530f3901619d3c8b70685992acf3298eb2b40a2e..e97a4edf011b0d58191e2a1dc221b4bbbe05964c 100644
--- a/chrome/browser/webdata/autofill_profile_syncable_service.cc
+++ b/chrome/browser/webdata/autofill_profile_syncable_service.cc
@@ -20,7 +20,7 @@
#include "sync/protocol/sync.pb.h"
using autofill::AutofillCountry;
-using autofill::AutofillFieldType;
+using autofill::ServerFieldType;
using autofill::AutofillProfile;
using autofill::AutofillProfileChange;
using autofill::AutofillTable;
@@ -566,7 +566,7 @@ syncer::SyncData AutofillProfileSyncableService::CreateData(
}
bool AutofillProfileSyncableService::UpdateField(
- AutofillFieldType field_type,
+ ServerFieldType field_type,
const std::string& new_value,
AutofillProfile* autofill_profile) {
if (UTF16ToUTF8(autofill_profile->GetRawInfo(field_type)) == new_value)
@@ -576,7 +576,7 @@ bool AutofillProfileSyncableService::UpdateField(
}
bool AutofillProfileSyncableService::UpdateMultivaluedField(
- AutofillFieldType field_type,
+ ServerFieldType field_type,
const ::google::protobuf::RepeatedPtrField<std::string>& new_values,
AutofillProfile* autofill_profile) {
std::vector<string16> values;

Powered by Google App Engine
This is Rietveld 408576698