OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_WEBUI_BLUETOOTH_INTERNALS_BLUETOOTH_INTERNALS_PAGE_HAN DLER_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_BLUETOOTH_INTERNALS_BLUETOOTH_INTERNALS_PAGE_HAN DLER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.mojom. h" | |
10 #include "chrome/browser/ui/webui/mojo_web_ui_handler.h" | |
11 #include "device/bluetooth/public/interfaces/bluetooth.mojom.h" | |
12 #include "mojo/public/cpp/bindings/binding.h" | |
13 | |
14 class BluetoothInternalsPageHandler : public mojom::InternalsPageHandler, | |
ortuno
2016/09/22 08:32:53
Add comment about the class.
mbrunson
2016/09/24 01:05:46
Done.
| |
15 public MojoWebUIHandler { | |
16 public: | |
17 explicit BluetoothInternalsPageHandler( | |
18 mojom::InternalsPageHandlerRequest request); | |
19 ~BluetoothInternalsPageHandler() override; | |
20 | |
21 // mojom::InternalsPageHandler overrides: | |
22 void GetAdapterService(bluetooth::AdapterRequest request, | |
23 bluetooth::AdapterClientPtr client) override; | |
24 | |
25 private: | |
26 mojo::Binding<mojom::InternalsPageHandler> binding_; | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(BluetoothInternalsPageHandler); | |
29 }; | |
30 | |
31 #endif // CHROME_BROWSER_UI_WEBUI_BLUETOOTH_INTERNALS_BLUETOOTH_INTERNALS_PAGE_ HANDLER_H_ | |
OLD | NEW |