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

Unified Diff: components/autofill/core/browser/webdata/autofill_profile_syncable_service.h

Issue 1212733005: Removal of UpdateMultivaluedField() as we now don't have multiple values for name,email and phone n… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes as per review comments. Created 5 years, 5 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
« no previous file with comments | « no previous file | components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/webdata/autofill_profile_syncable_service.h
diff --git a/components/autofill/core/browser/webdata/autofill_profile_syncable_service.h b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.h
index 23bf2a77d3bb17c4d59fbada5feeb1f02ec7dccc..f95b879cd8db4c97a2a5cd7dd97f988bff1f295f 100644
--- a/components/autofill/core/browser/webdata/autofill_profile_syncable_service.h
+++ b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.h
@@ -120,8 +120,6 @@ class AutofillProfileSyncableService
FRIEND_TEST_ALL_PREFIXES(AutofillProfileSyncableServiceTest,
UpdateField);
FRIEND_TEST_ALL_PREFIXES(AutofillProfileSyncableServiceTest,
- UpdateMultivaluedField);
- FRIEND_TEST_ALL_PREFIXES(AutofillProfileSyncableServiceTest,
MergeProfile);
// The map of the guid to profiles owned by the |profiles_| vector.
@@ -163,11 +161,6 @@ class AutofillProfileSyncableService
static bool UpdateField(ServerFieldType field_type,
const std::string& new_value,
AutofillProfile* autofill_profile);
- // The same as |UpdateField|, but for multi-valued fields.
- static bool UpdateMultivaluedField(
- ServerFieldType field_type,
- const ::google::protobuf::RepeatedPtrField<std::string>& new_value,
- AutofillProfile* autofill_profile);
// Calls merge_into->OverwriteWithOrAddTo() and then checks if the
// |merge_into| has extra data. Returns true if |merge_from| needs updating to
« no previous file with comments | « no previous file | components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698