Remove GetOsPermissionStatus from WifiAdapter

PiperOrigin-RevId: 685866926
This commit is contained in:
Anay Wadhera
2024-10-14 16:09:53 -07:00
committed by Copybara-Service
parent 1198b63e4f
commit 5cd8159cef
4 changed files with 0 additions and 15 deletions
-1
View File
@@ -35,7 +35,6 @@ class MockWifiAdapter : public nearby::sharing::api::WifiAdapter {
MOCK_METHOD(bool, IsPresent, (), (const, override));
MOCK_METHOD(bool, IsPowered, (), (const, override));
MOCK_METHOD(PermissionStatus, GetOsPermissionStatus, (), (const, override));
MOCK_METHOD(void, SetPowered,
(bool powered, std::function<void()> success_callback,
std::function<void()> error_callback),
-3
View File
@@ -59,9 +59,6 @@ class WifiAdapter {
// Indicates whether the adapter radio is powered.
virtual bool IsPowered() const = 0;
// Returns the status of the browser's Wi-Fi permission status.
virtual PermissionStatus GetOsPermissionStatus() const = 0;
// Requests a change to the adapter radio power. Setting `powered` to true
// will turn on the radio and false will turn it off. On success,
// `success_callback` will be called. On failure, `error_callback` will be