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

Unified Diff: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc

Issue 10692075: Enhance chrome://omnibox Presentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: We\'re not logging\! We\'re recording diagnostics\! Created 8 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: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc
===================================================================
--- chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc (revision 145893)
+++ chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc (working copy)
@@ -121,6 +121,9 @@
output->SetString(item_prefix + ".keyword", it->keyword);
output->SetBoolean(item_prefix + ".starred", it->starred);
output->SetBoolean(item_prefix + ".from_previous", it->from_previous);
+ for (std::map<std::string, std::string>::const_iterator j =
+ it->diagnostics.begin(); j != it->diagnostics.end(); ++j)
+ output->SetString(item_prefix + ".diagnostics." + j->first, j->second);
}
output->SetInteger(prefix + ".num_items", i);
}
« chrome/browser/resources/omnibox/omnibox.js ('K') | « chrome/browser/resources/omnibox/omnibox.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698