OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER
_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER
_H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER
_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER
_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "device/bluetooth/test/mock_bluetooth_adapter.h" | 11 #include "device/bluetooth/test/mock_bluetooth_adapter.h" |
10 #include "device/bluetooth/test/mock_bluetooth_device.h" | 12 #include "device/bluetooth/test/mock_bluetooth_device.h" |
11 #include "device/bluetooth/test/mock_bluetooth_discovery_session.h" | 13 #include "device/bluetooth/test/mock_bluetooth_discovery_session.h" |
12 #include "device/bluetooth/test/mock_bluetooth_gatt_characteristic.h" | 14 #include "device/bluetooth/test/mock_bluetooth_gatt_characteristic.h" |
13 #include "device/bluetooth/test/mock_bluetooth_gatt_notify_session.h" | 15 #include "device/bluetooth/test/mock_bluetooth_gatt_notify_session.h" |
14 #include "device/bluetooth/test/mock_bluetooth_gatt_service.h" | 16 #include "device/bluetooth/test/mock_bluetooth_gatt_service.h" |
15 | 17 |
16 namespace content { | 18 namespace content { |
17 | 19 |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 | 520 |
519 // Function to turn an integer into an MAC address of the form | 521 // Function to turn an integer into an MAC address of the form |
520 // XX:XX:XX:XX:XX:XX. For example makeMACAddress(0xdeadbeef) | 522 // XX:XX:XX:XX:XX:XX. For example makeMACAddress(0xdeadbeef) |
521 // returns "00:00:DE:AD:BE:EF". | 523 // returns "00:00:DE:AD:BE:EF". |
522 static std::string makeMACAddress(uint64_t addr); | 524 static std::string makeMACAddress(uint64_t addr); |
523 }; | 525 }; |
524 | 526 |
525 } // namespace content | 527 } // namespace content |
526 | 528 |
527 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVI
DER_H_ | 529 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVI
DER_H_ |
OLD | NEW |