#include "chrome/browser/permissions/pref_based_quiet_permission_ui_selector.h"
#include <utility>
#include "base/functional/bind.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_features.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/content_settings/core/common/pref_names.h"
#include "components/permissions/features.h"
#include "components/permissions/permission_actions_history.h"
#include "components/permissions/request_type.h"
#include "components/prefs/pref_service.h"
PrefBasedQuietPermissionUiSelector::PrefBasedQuietPermissionUiSelector(
Profile* profile)
: … { … }
PrefBasedQuietPermissionUiSelector::~PrefBasedQuietPermissionUiSelector() =
default;
void PrefBasedQuietPermissionUiSelector::SelectUiToUse(
permissions::PermissionRequest* request,
DecisionMadeCallback callback) { … }
void PrefBasedQuietPermissionUiSelector::Cancel() { … }
bool PrefBasedQuietPermissionUiSelector::IsPermissionRequestSupported(
permissions::RequestType request_type) { … }