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

Unified Diff: chrome/browser/dom_ui/options/autofill_options_handler.cc

Issue 3806008: Never allow empty preview entries. As some data is always present (we drop co... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/dom_ui/options/autofill_options_handler.cc
===================================================================
--- chrome/browser/dom_ui/options/autofill_options_handler.cc (revision 63786)
+++ chrome/browser/dom_ui/options/autofill_options_handler.cc (working copy)
@@ -157,7 +157,7 @@
personal_data_->profiles().begin();
i != personal_data_->profiles().end(); ++i) {
DictionaryValue* address = new DictionaryValue();
- address->SetString("label", (*i)->PreviewSummary());
+ address->SetString("label", (*i)->Label());
address->SetInteger("uniqueID", (*i)->unique_id());
addresses.Append(address);
}
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/browser/views/autofill_profiles_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698