summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/test/mock_bluetooth_advertisement.h
blob: 2079cf058bc429b95c6ef0b6cf4aa1de30dd75b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_
#define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_

#include "base/macros.h"
#include "device/bluetooth/bluetooth_advertisement.h"

namespace device {

class MockBluetoothAdvertisement : public device::BluetoothAdvertisement {
 public:
  MockBluetoothAdvertisement();

  // BluetoothAdvertisement overrides:
  void Unregister(const SuccessCallback& success_callback,
                  const ErrorCallback& error_callback) override;

 private:
  ~MockBluetoothAdvertisement() override;

  DISALLOW_COPY_AND_ASSIGN(MockBluetoothAdvertisement);
};

}  // namespace device

#endif  // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_