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

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

Issue 1223153003: Move JoinString to the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows 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 fdd6144cb3a05639f6cc48649ecc89af1f0601e9..0f369dbd750387a162f52c1c09c21a60ee6f2a5a 100644
--- a/components/autofill/core/common/password_form.cc
+++ b/components/autofill/core/common/password_form.cc
@@ -36,7 +36,8 @@ void PasswordFormToJSON(const PasswordForm& form,
target->SetBoolean("new_password_marked_by_site",
form.new_password_marked_by_site);
target->SetString("other_possible_usernames",
- JoinString(form.other_possible_usernames, '|'));
+ base::JoinString(form.other_possible_usernames,
+ base::ASCIIToUTF16("|")));
target->SetBoolean("blacklisted", form.blacklisted_by_user);
target->SetBoolean("preferred", form.preferred);
target->SetBoolean("ssl_valid", form.ssl_valid);

Powered by Google App Engine
This is Rietveld 408576698