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 #ifndef CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ | 5 #ifndef CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ |
6 #define CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ | 6 #define CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "third_party/WebKit/public/platform/WebBluetooth.h" | 13 #include "third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class BluetoothDispatcher; | 17 class BluetoothDispatcher; |
18 class ThreadSafeSender; | 18 class ThreadSafeSender; |
19 | 19 |
20 // Implementation of blink::WebBluetooth. Passes calls through to the thread | 20 // Implementation of blink::WebBluetooth. Passes calls through to the thread |
21 // specific BluetoothDispatcher. | 21 // specific BluetoothDispatcher. |
22 class CONTENT_EXPORT WebBluetoothImpl | 22 class CONTENT_EXPORT WebBluetoothImpl |
23 : NON_EXPORTED_BASE(public blink::WebBluetooth) { | 23 : NON_EXPORTED_BASE(public blink::WebBluetooth) { |
(...skipping 12 matching lines...) Expand all Loading... |
36 BluetoothDispatcher* GetDispatcher(); | 36 BluetoothDispatcher* GetDispatcher(); |
37 | 37 |
38 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 38 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); | 40 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); |
41 }; | 41 }; |
42 | 42 |
43 } // namespace content | 43 } // namespace content |
44 | 44 |
45 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ | 45 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ |
OLD | NEW |