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

Unified Diff: chrome/browser/ui/webui/certificate_viewer_ui.cc

Issue 11746012: [webui] whittle down a few more uses of old-style templateData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move include Created 7 years, 12 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
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/certificate_viewer_ui.cc
diff --git a/chrome/browser/ui/webui/certificate_viewer_ui.cc b/chrome/browser/ui/webui/certificate_viewer_ui.cc
index b109a1d0277472f6e09ccff40b4d343c3c7f3d15..9339284332d19cdf0e4fa0f53177c381ea9302d2 100644
--- a/chrome/browser/ui/webui/certificate_viewer_ui.cc
+++ b/chrome/browser/ui/webui/certificate_viewer_ui.cc
@@ -20,6 +20,7 @@ CertificateViewerUI::CertificateViewerUI(content::WebUI* web_ui)
new ChromeWebUIDataSource(chrome::kChromeUICertificateViewerHost);
// Localized strings.
+ html_source->set_use_json_js_format_v2();
html_source->AddLocalizedString("general", IDS_CERT_INFO_GENERAL_TAB_LABEL);
html_source->AddLocalizedString("details", IDS_CERT_INFO_DETAILS_TAB_LABEL);
html_source->AddLocalizedString("close", IDS_CLOSE);
« no previous file with comments | « chrome/browser/ui/webui/about_ui.cc ('k') | chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698