#include "components/permissions/fake_bluetooth_chooser_controller.h"
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/utf_string_conversions.h"
#include "components/strings/grit/components_branded_strings.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
namespace permissions {
FakeBluetoothChooserController::FakeBluetoothChooserController(
std::vector<FakeDevice> devices)
: … { … }
FakeBluetoothChooserController::~FakeBluetoothChooserController() { … }
bool FakeBluetoothChooserController::ShouldShowIconBeforeText() const { … }
bool FakeBluetoothChooserController::ShouldShowReScanButton() const { … }
std::u16string FakeBluetoothChooserController::GetNoOptionsText() const { … }
std::u16string FakeBluetoothChooserController::GetOkButtonLabel() const { … }
std::pair<std::u16string, std::u16string>
FakeBluetoothChooserController::GetThrobberLabelAndTooltip() const { … }
bool FakeBluetoothChooserController::TableViewAlwaysDisabled() const { … }
size_t FakeBluetoothChooserController::NumOptions() const { … }
int FakeBluetoothChooserController::GetSignalStrengthLevel(size_t index) const { … }
std::u16string FakeBluetoothChooserController::GetOption(size_t index) const { … }
bool FakeBluetoothChooserController::IsConnected(size_t index) const { … }
bool FakeBluetoothChooserController::IsPaired(size_t index) const { … }
bool FakeBluetoothChooserController::ShouldShowAdapterOffView() const { … }
int FakeBluetoothChooserController::GetAdapterOffMessageId() const { … }
int FakeBluetoothChooserController::GetTurnAdapterOnLinkTextMessageId() const { … }
bool FakeBluetoothChooserController::ShouldShowAdapterUnauthorizedView() const { … }
int FakeBluetoothChooserController::GetBluetoothUnauthorizedMessageId() const { … }
int FakeBluetoothChooserController::GetAuthorizeBluetoothLinkTextMessageId()
const { … }
void FakeBluetoothChooserController::SetBluetoothStatus(
BluetoothStatus status) { … }
void FakeBluetoothChooserController::SetBluetoothPermission(
bool has_permission) { … }
void FakeBluetoothChooserController::AddDevice(FakeDevice device) { … }
void FakeBluetoothChooserController::RemoveDevice(size_t index) { … }
void FakeBluetoothChooserController::UpdateDevice(size_t index,
FakeDevice new_device) { … }
}