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

Unified Diff: chrome/browser/ui/webui/uber/uber_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
Index: chrome/browser/ui/webui/uber/uber_ui.cc
diff --git a/chrome/browser/ui/webui/uber/uber_ui.cc b/chrome/browser/ui/webui/uber/uber_ui.cc
index a0d1878c5ca288a8b03749a85c89ff92f6316b8a..4a035e9382f805d23a3b8b0ddb318a9329d68ac7 100644
--- a/chrome/browser/ui/webui/uber/uber_ui.cc
+++ b/chrome/browser/ui/webui/uber/uber_ui.cc
@@ -37,7 +37,6 @@ content::WebUIDataSource* CreateUberHTMLSource() {
content::WebUIDataSource* source =
content::WebUIDataSource::Create(chrome::kChromeUIUberHost);
- source->SetUseJsonJSFormatV2();
source->SetJsonPath("strings.js");
source->AddResourcePath("uber.js", IDR_UBER_JS);
source->AddResourcePath("uber_utils.js", IDR_UBER_UTILS_JS);
@@ -78,7 +77,6 @@ content::WebUIDataSource* CreateUberFrameHTMLSource(Profile* profile) {
content::WebUIDataSource* source =
content::WebUIDataSource::Create(chrome::kChromeUIUberFrameHost);
- source->SetUseJsonJSFormatV2();
source->SetJsonPath("strings.js");
source->AddResourcePath("uber_frame.js", IDR_UBER_FRAME_JS);
source->SetDefaultResource(IDR_UBER_FRAME_HTML);
« no previous file with comments | « chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc ('k') | chrome/browser/ui/webui/version_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698