bluetooth_local_gatt_descriptor.cc 857 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2016 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.
  4. #include "device/bluetooth/bluetooth_local_gatt_descriptor.h"
  5. #include "base/notreached.h"
  6. #include "build/build_config.h"
  7. namespace device {
  8. #if (!BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)) || \
  9. defined(LINUX_WITHOUT_DBUS)
  10. // static
  11. base::WeakPtr<BluetoothLocalGattDescriptor>
  12. BluetoothLocalGattDescriptor::Create(
  13. const BluetoothUUID& uuid,
  14. BluetoothGattCharacteristic::Permissions permissions,
  15. BluetoothLocalGattCharacteristic* characteristic) {
  16. NOTIMPLEMENTED();
  17. return nullptr;
  18. }
  19. #endif
  20. BluetoothLocalGattDescriptor::BluetoothLocalGattDescriptor() = default;
  21. BluetoothLocalGattDescriptor::~BluetoothLocalGattDescriptor() = default;
  22. } // namespace device