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

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

Issue 1125133005: bluetooth: Move testing IPC from BluetoothDispatcher to BlinkTestRunner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for stable release mode tests 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
38 private: 35 private:
39 BluetoothDispatcher* GetDispatcher(); 36 BluetoothDispatcher* GetDispatcher();
40 37
41 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 38 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
42 39
43 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); 40 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl);
44 }; 41 };
45 42
46 } // namespace content 43 } // namespace content
47 44
48 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ 45 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698