#include "chrome/browser/permissions/pref_based_quiet_permission_ui_selector.h"
#include <optional>
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/test/mock_callback.h"
#include "chrome/test/base/testing_profile.h"
#include "components/content_settings/core/common/pref_names.h"
#include "components/permissions/request_type.h"
#include "components/permissions/test/mock_permission_request.h"
#include "components/prefs/testing_pref_service.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
DoAll;
QuietUiReason;
WarningReason;
Decision;
ACTION_P(QuitMessageLoop, loop) { … }
}
class PrefBasedQuietPermissionUiSelectorTest : public testing::Test { … };
TEST_F(PrefBasedQuietPermissionUiSelectorTest, FeatureAndPrefCombinations) { … }