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

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

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 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/password_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc
index a7e75004c448a2c05c31c543a21ad9743123887e..349311c6f6384a1e955c0dc7cc6ca91458b933f4 100644
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
@@ -195,10 +195,10 @@ void PasswordManagerHandler::SetPasswordList() {
string16 empty;
for (size_t i = 0; i < password_list_.size(); ++i) {
ListValue* entry = new ListValue();
- entry->Append(new StringValue(net::FormatUrl(password_list_[i]->origin,
- languages_)));
- entry->Append(new StringValue(password_list_[i]->username_value));
- entry->Append(new StringValue(
+ entry->Append(base::StringValue::New(
+ net::FormatUrl(password_list_[i]->origin, languages_)));
+ entry->Append(base::StringValue::New(password_list_[i]->username_value));
+ entry->Append(base::StringValue::New(
show_passwords ? password_list_[i]->password_value : empty));
entries.Append(entry);
}
@@ -210,7 +210,7 @@ void PasswordManagerHandler::SetPasswordList() {
void PasswordManagerHandler::SetPasswordExceptionList() {
ListValue entries;
for (size_t i = 0; i < password_exception_list_.size(); ++i) {
- entries.Append(new StringValue(
+ entries.Append(base::StringValue::New(
net::FormatUrl(password_exception_list_[i]->origin, languages_)));
}

Powered by Google App Engine
This is Rietveld 408576698