Commit 65dce871 authored by dpapad's avatar dpapad Committed by Commit Bot

MD Settings cleanup: Removing unnecessary workaround for multpile hosts.

This is a remainder from removing md-settings as a valid host.

Bug: None
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I1f5a910859b83f9330522b4a9270c6c1bd1627d6
Reviewed-on: https://chromium-review.googlesource.com/699750Reviewed-by: default avatarDan Beam (no longer on Chrome) <dbeam@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#506572}
parent 47979a37
......@@ -15,7 +15,7 @@ optimize_webui("build") {
"vulcanized.html",
"lazy_load.vulcanized.html",
]
insert_in_head = "<base href=\"chrome://\$i18n{hostname}\">"
insert_in_head = "<base href=\"chrome://settings\">"
input = rebase_path("$target_gen_dir/$unpak_folder", root_build_dir)
js_out_files = [
"crisper.js",
......
......@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>$i18n{settings}</title>
<if expr="not optimize_webui">
<base href="chrome://$i18n{hostname}">
<base href="chrome://settings">
</if>
<style>
html {
......
......@@ -189,9 +189,6 @@ MdSettingsUI::MdSettingsUI(content::WebUI* web_ui)
content::WebUIDataSource* html_source =
content::WebUIDataSource::Create(chrome::kChromeUISettingsHost);
// This is used by a <base> tag in c/b/r/settings/BUILD.gn. TODO(dbeam): Is
// this still needed now that there's only 1 host name?
html_source->AddString("hostname", chrome::kChromeUISettingsHost);
#if defined(OS_WIN)
if (base::FeatureList::IsEnabled(safe_browsing::kInBrowserCleanerUIFeature)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment