Mark //testing/perf target testonly.
[chromium-blink-merge.git] / device / bluetooth / test / mock_bluetooth_adapter.cc
blob2f797d3013aef70b7e2f8e589f30925ed88bcc06
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
3 // found in the LICENSE file.
5 #include "device/bluetooth/test/mock_bluetooth_adapter.h"
7 namespace device {
9 MockBluetoothAdapter::Observer::Observer() {}
10 MockBluetoothAdapter::Observer::~Observer() {}
12 MockBluetoothAdapter::MockBluetoothAdapter() {
15 MockBluetoothAdapter::~MockBluetoothAdapter() {}
17 #if defined(OS_CHROMEOS)
18 void MockBluetoothAdapter::Shutdown() {
20 #endif
22 void MockBluetoothAdapter::DeleteOnCorrectThread() const {
23 delete this;
26 void MockBluetoothAdapter::AddDiscoverySession(
27 const base::Closure& callback,
28 const ErrorCallback& error_callback) {}
30 void MockBluetoothAdapter::RemoveDiscoverySession(
31 const base::Closure& callback,
32 const ErrorCallback& error_callback) {}
34 } // namespace device