diff options
author | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 22:06:05 +0000 |
---|---|---|
committer | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 22:06:05 +0000 |
commit | 0ae97590d681ac25ce44764a8afce66d50e4765e (patch) | |
tree | 600ede17bd9803e4f33e1b1eba48b3e2ef58deb0 /device/bluetooth/bluetooth_device_win.cc | |
parent | 938666c23104b52c4df14792923630976cc47c65 (diff) | |
download | chromium_src-0ae97590d681ac25ce44764a8afce66d50e4765e.zip chromium_src-0ae97590d681ac25ce44764a8afce66d50e4765e.tar.gz chromium_src-0ae97590d681ac25ce44764a8afce66d50e4765e.tar.bz2 |
Added empty implementations for Bluetooth Windows files.
BUG=135470
Review URL: https://chromiumcodereview.appspot.com/11229012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_device_win.cc')
-rw-r--r-- | device/bluetooth/bluetooth_device_win.cc | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_device_win.cc b/device/bluetooth/bluetooth_device_win.cc new file mode 100644 index 0000000..5b6cd9c --- /dev/null +++ b/device/bluetooth/bluetooth_device_win.cc @@ -0,0 +1,121 @@ +// Copyright (c) 2012 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. +// +// TODO(youngki): Implement this file. + +#include "device/bluetooth/bluetooth_device_win.h" + +#include <string> +#include "base/basictypes.h" +#include "base/logging.h" +#include "device/bluetooth/bluetooth_out_of_band_pairing_data.h" + +namespace device { + +BluetoothDeviceWin::BluetoothDeviceWin() : BluetoothDevice() { +} + +BluetoothDeviceWin::~BluetoothDeviceWin() { +} + +bool BluetoothDeviceWin::IsPaired() const { + NOTIMPLEMENTED(); + return false; +} + +const BluetoothDevice::ServiceList& BluetoothDeviceWin::GetServices() const { + NOTIMPLEMENTED(); + return service_uuids_; +} + +void BluetoothDeviceWin::GetServiceRecords( + const ServiceRecordsCallback& callback, + const ErrorCallback& error_callback) { + NOTIMPLEMENTED(); +} + +bool BluetoothDeviceWin::ProvidesServiceWithUUID( + const std::string& uuid) const { + NOTIMPLEMENTED(); + return false; +} + +void BluetoothDeviceWin::ProvidesServiceWithName( + const std::string& name, + const ProvidesServiceCallback& callback) { + NOTIMPLEMENTED(); +} + +bool BluetoothDeviceWin::ExpectingPinCode() const { + NOTIMPLEMENTED(); + return false; +} + +bool BluetoothDeviceWin::ExpectingPasskey() const { + NOTIMPLEMENTED(); + return false; +} + +bool BluetoothDeviceWin::ExpectingConfirmation() const { + NOTIMPLEMENTED(); + return false; +} + +void BluetoothDeviceWin::Connect( + PairingDelegate* pairing_delegate, + const base::Closure& callback, + const ErrorCallback& error_callback) { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::SetPinCode(const std::string& pincode) { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::SetPasskey(uint32 passkey) { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::ConfirmPairing() { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::RejectPairing() { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::CancelPairing() { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::Disconnect( + const base::Closure& callback, + const ErrorCallback& error_callback) { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::Forget(const ErrorCallback& error_callback) { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::ConnectToService( + const std::string& service_uuid, + const SocketCallback& callback) { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::SetOutOfBandPairingData( + const BluetoothOutOfBandPairingData& data, + const base::Closure& callback, + const ErrorCallback& error_callback) { + NOTIMPLEMENTED(); +} + +void BluetoothDeviceWin::ClearOutOfBandPairingData( + const base::Closure& callback, + const ErrorCallback& error_callback) { + NOTIMPLEMENTED(); +} + +} // namespace device |