chromium/chrome/browser/permissions/system/system_permission_settings.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/permissions/system/system_permission_settings.h"

#include <map>
#include <memory>
#include <utility>

#include "base/check.h"
#include "base/check_deref.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/global_features.h"
#include "chrome/browser/permissions/system/platform_handle.h"

namespace system_permission_settings {

namespace {

PlatformHandle* instance_for_testing_ =;

std::map<ContentSettingsType, bool>& GlobalTestingBlockOverrides() {}

PlatformHandle* GetPlatformHandle() {}

}  // namespace

// static
void SetInstanceForTesting(PlatformHandle* instance_for_testing) {}

// static
bool CanPrompt(ContentSettingsType type) {}

// static
bool IsDenied(ContentSettingsType type) {}

// static
bool IsAllowed(ContentSettingsType type) {}

// static
void OpenSystemSettings(content::WebContents* web_contents,
                        ContentSettingsType type) {}

// static
void Request(ContentSettingsType type,
             SystemPermissionResponseCallback callback) {}

// static
std::unique_ptr<ScopedObservation> Observe(
    SystemPermissionChangedCallback observer) {}

ScopedSettingsForTesting::ScopedSettingsForTesting(ContentSettingsType type,
                                                   bool blocked)
    :{}

ScopedSettingsForTesting::~ScopedSettingsForTesting() {}

}  // namespace system_permission_settings