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

Unified Diff: chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc

Issue 599653003: Remove old template html boilerplate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bydefault
Patch Set: fix android Created 6 years, 3 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/chromeos/network_ui.cc ('k') | chrome/browser/ui/webui/chromeos/power_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc b/chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc
index 95ec32aa633331ee85668508f84c41ca19769f6b..6a0b6c1e91e096add79060dca4eb8712d1123952 100644
--- a/chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc
@@ -676,8 +676,7 @@ NfcDebugUI::NfcDebugUI(content::WebUI* web_ui)
web_ui->AddMessageHandler(new NfcDebugMessageHandler());
content::WebUIDataSource* html_source =
- content::WebUIDataSource::Create(chrome::kChromeUINfcDebugHost);
- html_source->SetUseJsonJSFormatV2();
+ content::WebUIDataSource::Create(chrome::kChromeUINfcDebugHost);
html_source->AddLocalizedString("titleText", IDS_NFC_DEBUG_TITLE);
html_source->AddLocalizedString("notSupportedText",
« no previous file with comments | « chrome/browser/ui/webui/chromeos/network_ui.cc ('k') | chrome/browser/ui/webui/chromeos/power_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698