fast_pair_support_utils.h 755 B

123456789101112131415161718192021
  1. // Copyright 2022 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. #ifndef ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_FAST_PAIR_SUPPORT_UTILS_H_
  5. #define ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_FAST_PAIR_SUPPORT_UTILS_H_
  6. #include "base/memory/scoped_refptr.h"
  7. #include "device/bluetooth/bluetooth_adapter.h"
  8. namespace ash {
  9. namespace quick_pair {
  10. // Returns true if the device has support for hardware advertisement
  11. // filtering which is required for fast pair.
  12. bool HasHardwareSupport(scoped_refptr<device::BluetoothAdapter> adapter);
  13. } // namespace quick_pair
  14. } // namespace ash
  15. #endif // ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_FAST_PAIR_SUPPORT_UTILS_H_