Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: content/child/bluetooth/web_bluetooth_impl.h

Issue 1142303002: Revert of bluetooth: Move testing IPC from BluetoothDispatcher to BlinkTestRunner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
(...skipping 14 matching lines...) Expand all
25 explicit WebBluetoothImpl(ThreadSafeSender* thread_safe_sender); 25 explicit WebBluetoothImpl(ThreadSafeSender* thread_safe_sender);
26 ~WebBluetoothImpl(); 26 ~WebBluetoothImpl();
27 27
28 // blink::WebBluetooth interface: 28 // blink::WebBluetooth interface:
29 void requestDevice( 29 void requestDevice(
30 blink::WebBluetoothRequestDeviceCallbacks* callbacks) override; 30 blink::WebBluetoothRequestDeviceCallbacks* callbacks) override;
31 31
32 void connectGATT(const blink::WebString& device_instance_id, 32 void connectGATT(const blink::WebString& device_instance_id,
33 blink::WebBluetoothConnectGATTCallbacks* callbacks) override; 33 blink::WebBluetoothConnectGATTCallbacks* callbacks) override;
34 34
35 // Testing interface:
36 void SetBluetoothMockDataSetForTesting(const std::string& name);
37
35 private: 38 private:
36 BluetoothDispatcher* GetDispatcher(); 39 BluetoothDispatcher* GetDispatcher();
37 40
38 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 41 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
39 42
40 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); 43 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl);
41 }; 44 };
42 45
43 } // namespace content 46 } // namespace content
44 47
45 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ 48 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/bluetooth/bluetooth_dispatcher.cc ('k') | content/child/bluetooth/web_bluetooth_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698