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

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

Issue 1415573014: Reland "Add Linux support for the Bluetooth API" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix. Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_ 5 #ifndef DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_ 6 #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "device/bluetooth/bluetooth_advertisement.h" 9 #include "device/bluetooth/bluetooth_advertisement.h"
10 10
11 namespace device { 11 namespace device {
12 12
13 class MockBluetoothAdvertisement : public device::BluetoothAdvertisement { 13 class MockBluetoothAdvertisement : public device::BluetoothAdvertisement {
14 public: 14 public:
15 MockBluetoothAdvertisement(); 15 MockBluetoothAdvertisement();
16 16
17 // BluetoothAdvertisement overrides: 17 // BluetoothAdvertisement overrides:
18 void Unregister(const SuccessCallback& success_callback, 18 void Unregister(const SuccessCallback& success_callback,
19 const ErrorCallback& error_callback) override; 19 const ErrorCallback& error_callback) override;
20 20
21 private: 21 private:
22 ~MockBluetoothAdvertisement() override; 22 ~MockBluetoothAdvertisement() override;
23 23
24 DISALLOW_COPY_AND_ASSIGN(MockBluetoothAdvertisement); 24 DISALLOW_COPY_AND_ASSIGN(MockBluetoothAdvertisement);
25 }; 25 };
26 26
27 } // namespace chromeos 27 } // namespace device
28 28
29 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_ 29 #endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698