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

Side by Side Diff: device/bluetooth/test/mock_bluetooth_adapter.h

Issue 1111563002: Revert of Add CPP API for BLE advertisments. (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ 5 #ifndef DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_
6 #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ 6 #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 protected: 102 protected:
103 void AddDiscoverySession(BluetoothDiscoveryFilter* discovery_filter, 103 void AddDiscoverySession(BluetoothDiscoveryFilter* discovery_filter,
104 const base::Closure& callback, 104 const base::Closure& callback,
105 const ErrorCallback& error_callback) override; 105 const ErrorCallback& error_callback) override;
106 void RemoveDiscoverySession(BluetoothDiscoveryFilter* discovery_filter, 106 void RemoveDiscoverySession(BluetoothDiscoveryFilter* discovery_filter,
107 const base::Closure& callback, 107 const base::Closure& callback,
108 const ErrorCallback& error_callback) override; 108 const ErrorCallback& error_callback) override;
109 void SetDiscoveryFilter(scoped_ptr<BluetoothDiscoveryFilter> discovery_filter, 109 void SetDiscoveryFilter(scoped_ptr<BluetoothDiscoveryFilter> discovery_filter,
110 const base::Closure& callback, 110 const base::Closure& callback,
111 const ErrorCallback& error_callback) override; 111 const ErrorCallback& error_callback) override;
112 void RegisterAdvertisement(
113 scoped_ptr<BluetoothAdvertisement::Data> advertisement_data,
114 const CreateAdvertisementCallback& callback,
115 const CreateAdvertisementErrorCallback& error_callback) override;
116 virtual ~MockBluetoothAdapter(); 112 virtual ~MockBluetoothAdapter();
117 113
118 MOCK_METHOD1(RemovePairingDelegateInternal, 114 MOCK_METHOD1(RemovePairingDelegateInternal,
119 void(BluetoothDevice::PairingDelegate* pairing_delegate)); 115 void(BluetoothDevice::PairingDelegate* pairing_delegate));
120 }; 116 };
121 117
122 } // namespace device 118 } // namespace device
123 119
124 #endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_ 120 #endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADAPTER_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_advertisement_chromeos_unittest.cc ('k') | device/bluetooth/test/mock_bluetooth_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698