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

Unified Diff: chrome/browser/ui/webui/policy_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/nacl_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/policy_ui.cc
diff --git a/chrome/browser/ui/webui/policy_ui.cc b/chrome/browser/ui/webui/policy_ui.cc
index 4a9cddae2b4b00346cc3b33e12461c75cc813692..2061cb7cab553ef7d337d9c848f164d451cb1468 100644
--- a/chrome/browser/ui/webui/policy_ui.cc
+++ b/chrome/browser/ui/webui/policy_ui.cc
@@ -66,6 +66,7 @@ ChromeWebUIDataSource* CreatePolicyUIHTMLSource() {
new ChromeWebUIDataSource(chrome::kChromeUIPolicyHost);
// Localized strings.
+ source->set_use_json_js_format_v2();
source->AddLocalizedString("policyTitle", IDS_POLICY_TITLE);
source->AddLocalizedString("statusPaneTitle", IDS_POLICY_STATUS_TITLE);
source->AddLocalizedString("fetchPoliciesText", IDS_POLICY_FETCH);
« no previous file with comments | « chrome/browser/ui/webui/nacl_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698