#include "components/permissions/bluetooth_scanning_prompt_controller.h"
#include "base/not_fatal_until.h"
#include "base/ranges/algorithm.h"
#include "base/strings/utf_string_conversions.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
namespace permissions {
BluetoothScanningPromptController::BluetoothScanningPromptController(
content::RenderFrameHost* owner,
const content::BluetoothScanningPrompt::EventHandler& event_handler,
std::u16string title)
: … { … }
BluetoothScanningPromptController::~BluetoothScanningPromptController() { … }
bool BluetoothScanningPromptController::ShouldShowHelpButton() const { … }
std::u16string BluetoothScanningPromptController::GetNoOptionsText() const { … }
std::u16string BluetoothScanningPromptController::GetOkButtonLabel() const { … }
std::u16string BluetoothScanningPromptController::GetCancelButtonLabel() const { … }
std::pair<std::u16string, std::u16string>
BluetoothScanningPromptController::GetThrobberLabelAndTooltip() const { … }
bool BluetoothScanningPromptController::BothButtonsAlwaysEnabled() const { … }
bool BluetoothScanningPromptController::TableViewAlwaysDisabled() const { … }
size_t BluetoothScanningPromptController::NumOptions() const { … }
std::u16string BluetoothScanningPromptController::GetOption(
size_t index) const { … }
void BluetoothScanningPromptController::Select(
const std::vector<size_t>& indices) { … }
void BluetoothScanningPromptController::Cancel() { … }
void BluetoothScanningPromptController::Close() { … }
void BluetoothScanningPromptController::OpenHelpCenterUrl() const { … }
void BluetoothScanningPromptController::AddOrUpdateDevice(
const std::string& device_id,
bool should_update_name,
const std::u16string& device_name) { … }
void BluetoothScanningPromptController::ResetEventHandler() { … }
base::WeakPtr<BluetoothScanningPromptController>
BluetoothScanningPromptController::GetWeakPtr() { … }
}