| Index: chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.h
|
| diff --git a/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.h b/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.h
|
| index 4d39a811b0b0acb826c072c6a966560a5d61d497..7d554487a02e05ab929b2974c451fbe17b127b24 100644
|
| --- a/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.h
|
| +++ b/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.h
|
| @@ -5,16 +5,26 @@
|
| #ifndef CHROME_BROWSER_UI_WEBUI_BLUETOOTH_INTERNALS_BLUETOOTH_INTERNALS_UI_H_
|
| #define CHROME_BROWSER_UI_WEBUI_BLUETOOTH_INTERNALS_BLUETOOTH_INTERNALS_UI_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| -#include "content/public/browser/web_ui_controller.h"
|
| +#include "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.mojom.h"
|
| +#include "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_page_handler.h"
|
| +#include "chrome/browser/ui/webui/mojo_web_ui_controller.h"
|
|
|
| // The WebUI for chrome://bluetooth-internals
|
| -class BluetoothInternalsUI : public content::WebUIController {
|
| +class BluetoothInternalsUI
|
| + : public MojoWebUIController<mojom::InternalsPageHandler> {
|
| public:
|
| explicit BluetoothInternalsUI(content::WebUI* web_ui);
|
| ~BluetoothInternalsUI() override;
|
|
|
| private:
|
| + // MojoWebUIController overrides:
|
| + void BindUIHandler(mojom::InternalsPageHandlerRequest request) override;
|
| +
|
| + std::unique_ptr<BluetoothInternalsPageHandler> page_handler_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BluetoothInternalsUI);
|
| };
|
|
|
|
|