Chromium Code Reviews

Unified Diff: chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc

Issue 2488093003: bluetooth: Componentize device list fixes (Closed)
Patch Set: Remove removed constant Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc
diff --git a/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc b/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc
index c3085c47173663f600d6a49750db689ece1feaf6..6f7ca81ca80d6f5d8d270e9848265b48b5044df0 100644
--- a/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc
+++ b/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc
@@ -16,6 +16,8 @@ BluetoothInternalsUI::BluetoothInternalsUI(content::WebUI* web_ui)
content::WebUIDataSource::Create(chrome::kChromeUIBluetoothInternalsHost);
// Add required resources.
+ html_source->AddResourcePath("adapter_broker.js",
+ IDR_BLUETOOTH_INTERNALS_ADAPTER_BROKER_JS);
html_source->AddResourcePath("bluetooth_internals.css",
IDR_BLUETOOTH_INTERNALS_CSS);
html_source->AddResourcePath("bluetooth_internals.js",
@@ -26,8 +28,7 @@ BluetoothInternalsUI::BluetoothInternalsUI(content::WebUI* web_ui)
IDR_BLUETOOTH_INTERNALS_DEVICE_TABLE_JS);
html_source->AddResourcePath("interfaces.js",
IDR_BLUETOOTH_INTERNALS_INTERFACES_JS);
- html_source->AddResourcePath("adapter_broker.js",
- IDR_BLUETOOTH_INTERNALS_ADAPTER_BROKER_JS);
+
html_source->AddResourcePath(
"device/bluetooth/public/interfaces/adapter.mojom",
IDR_BLUETOOTH_ADAPTER_MOJO_JS);

Powered by Google App Engine