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

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

Issue 2488093003: bluetooth: Componentize device list fixes (Closed)
Patch Set: Combine private and type Created 4 years, 1 month 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/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);
« no previous file with comments | « chrome/browser/resources/bluetooth_internals/interfaces.js ('k') | ui/webui/resources/html/cr/ui/array_data_model.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698