OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "config.h" | |
6 #include "modules/bluetooth/NavigatorBluetooth.h" | 5 #include "modules/bluetooth/NavigatorBluetooth.h" |
7 | 6 |
8 #include "core/frame/Navigator.h" | 7 #include "core/frame/Navigator.h" |
9 #include "modules/bluetooth/Bluetooth.h" | 8 #include "modules/bluetooth/Bluetooth.h" |
10 | 9 |
11 namespace blink { | 10 namespace blink { |
12 | 11 |
13 NavigatorBluetooth& NavigatorBluetooth::from(Navigator& navigator) | 12 NavigatorBluetooth& NavigatorBluetooth::from(Navigator& navigator) |
14 { | 13 { |
15 NavigatorBluetooth* supplement = static_cast<NavigatorBluetooth*>(HeapSupple
ment<Navigator>::from(navigator, supplementName())); | 14 NavigatorBluetooth* supplement = static_cast<NavigatorBluetooth*>(HeapSupple
ment<Navigator>::from(navigator, supplementName())); |
(...skipping 25 matching lines...) Expand all Loading... |
41 NavigatorBluetooth::NavigatorBluetooth() | 40 NavigatorBluetooth::NavigatorBluetooth() |
42 { | 41 { |
43 } | 42 } |
44 | 43 |
45 const char* NavigatorBluetooth::supplementName() | 44 const char* NavigatorBluetooth::supplementName() |
46 { | 45 { |
47 return "NavigatorBluetooth"; | 46 return "NavigatorBluetooth"; |
48 } | 47 } |
49 | 48 |
50 } // namespace blink | 49 } // namespace blink |
OLD | NEW |