#include "components/cross_device/nearby/nearby_features.h"
#include "base/feature_list.h"
namespace features {
BASE_FEATURE(kEnableNearbyBleV2, base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kEnableNearbyBleV2ExtendedAdvertising,
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kEnableNearbyBleV2GattServer, base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kEnableNearbyBluetoothClassicAdvertising,
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kEnableNearbyBluetoothClassicScanning,
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kEnableNearbyMdns, base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kNearbySharingWebRtc, base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kNearbySharingWifiDirect, base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kNearbySharingWifiLan, base::FEATURE_ENABLED_BY_DEFAULT);
bool IsNearbyBleV2Enabled() {
return base::FeatureList::IsEnabled(kEnableNearbyBleV2);
}
bool IsNearbyBleV2ExtendedAdvertisingEnabled() {
return base::FeatureList::IsEnabled(kEnableNearbyBleV2ExtendedAdvertising);
}
bool IsNearbyBleV2GattServerEnabled() {
return base::FeatureList::IsEnabled(kEnableNearbyBleV2GattServer);
}
bool IsNearbyBluetoothClassicAdvertisingEnabled() {
return base::FeatureList::IsEnabled(kEnableNearbyBluetoothClassicAdvertising);
}
bool IsNearbyBluetoothClassicScanningEnabled() {
return base::FeatureList::IsEnabled(kEnableNearbyBluetoothClassicScanning);
}
bool IsNearbyMdnsEnabled() {
return base::FeatureList::IsEnabled(kEnableNearbyMdns);
}
}