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

Unified Diff: components/autofill/core/common/password_form.cc

Issue 1220713005: Rename avatar_url to icon_url in PasswordForm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename2
Patch Set: Rebased. 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
Index: components/autofill/core/common/password_form.cc
diff --git a/components/autofill/core/common/password_form.cc b/components/autofill/core/common/password_form.cc
index 0f369dbd750387a162f52c1c09c21a60ee6f2a5a..54f6c56a806d3b7c6a939d3e0c0bb344bec0fb43 100644
--- a/components/autofill/core/common/password_form.cc
+++ b/components/autofill/core/common/password_form.cc
@@ -50,7 +50,7 @@ void PasswordFormToJSON(const PasswordForm& form,
target->SetString("form_data", form_data_string_stream.str());
target->SetInteger("generation_upload_status", form.generation_upload_status);
target->SetString("display_name", form.display_name);
- target->SetString("avatar_url", form.avatar_url.possibly_invalid_spec());
+ target->SetString("icon_url", form.icon_url.possibly_invalid_spec());
target->SetString("federation_url",
form.federation_url.possibly_invalid_spec());
target->SetBoolean("skip_next_zero_click", form.skip_zero_click);
@@ -120,7 +120,7 @@ bool PasswordForm::operator==(const PasswordForm& form) const {
form_data.SameFormAs(form.form_data) &&
generation_upload_status == form.generation_upload_status &&
display_name == form.display_name &&
- avatar_url == form.avatar_url &&
+ icon_url == form.icon_url &&
federation_url == form.federation_url &&
skip_zero_click == form.skip_zero_click &&
layout == form.layout &&
« no previous file with comments | « components/autofill/core/common/password_form.h ('k') | components/password_manager/core/browser/login_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698