Commit e75481cb authored by Joon Ahn's avatar Joon Ahn Committed by Commit Bot

Diagnostics: Import d3.js into diagnostics/

Bug: 1136195
Change-Id: I23b30df8776b13558acf8ff9e9824b06d4c03cee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463376
Commit-Queue: Joon Ahn <joonbug@chromium.org>
Reviewed-by: default avatarZentaro Kavanagh <zentaro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817021}
parent 44fe89f6
...@@ -67,6 +67,7 @@ void SetUpWebUIDataSource(content::WebUIDataSource* source, ...@@ -67,6 +67,7 @@ void SetUpWebUIDataSource(content::WebUIDataSource* source,
} }
source->SetDefaultResource(default_resource); source->SetDefaultResource(default_resource);
source->AddResourcePath("d3.min.js", IDR_D3_SRC_D3_MIN_JS);
source->AddResourcePath("test_loader.html", IDR_WEBUI_HTML_TEST_LOADER_HTML); source->AddResourcePath("test_loader.html", IDR_WEBUI_HTML_TEST_LOADER_HTML);
source->AddResourcePath("test_loader.js", IDR_WEBUI_JS_TEST_LOADER_JS); source->AddResourcePath("test_loader.js", IDR_WEBUI_JS_TEST_LOADER_JS);
} }
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
<include name="IDR_DIAGNOSTICS_ROUTINE_SECTION_JS" file="${root_gen_dir}/chromeos/components/diagnostics_ui/resources/routine_section.js" use_base_dir="false" type="BINDATA"/> <include name="IDR_DIAGNOSTICS_ROUTINE_SECTION_JS" file="${root_gen_dir}/chromeos/components/diagnostics_ui/resources/routine_section.js" use_base_dir="false" type="BINDATA"/>
<include name="IDR_DIAGNOSTICS_SHARED_CSS_JS" file="${root_gen_dir}/chromeos/components/diagnostics_ui/resources/diagnostics_shared_css.js" use_base_dir="false" type="BINDDATA"/> <include name="IDR_DIAGNOSTICS_SHARED_CSS_JS" file="${root_gen_dir}/chromeos/components/diagnostics_ui/resources/diagnostics_shared_css.js" use_base_dir="false" type="BINDDATA"/>
<include name="IDR_DIAGNOSTICS_TYPES_JS" file="diagnostics_types.js" type="BINDATA"/> <include name="IDR_DIAGNOSTICS_TYPES_JS" file="diagnostics_types.js" type="BINDATA"/>
<include name="IDR_D3_SRC_D3_MIN_JS" file="../../../../third_party/d3/src/d3.min.js" type="BINDATA" />
</includes> </includes>
</release> </release>
</grit> </grit>
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