#include "chrome/browser/extensions/api/content_settings/content_settings_api.h"
#include <set>
#include <string>
#include <utility>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "chrome/browser/content_settings/cookie_settings_factory.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/extensions/api/content_settings.h"
#include "components/content_settings/core/browser/content_settings_info.h"
#include "components/content_settings/core/browser/content_settings_registry.h"
#include "components/content_settings/core/browser/content_settings_uma_util.h"
#include "components/content_settings/core/browser/content_settings_utils.h"
#include "components/content_settings/core/browser/cookie_settings.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/webplugininfo.h"
#include "extensions/browser/api/content_settings/content_settings_helpers.h"
#include "extensions/browser/api/content_settings/content_settings_service.h"
#include "extensions/browser/api/content_settings/content_settings_store.h"
#include "extensions/browser/extension_util.h"
#include "extensions/common/api/extension_types.h"
#include "extensions/common/constants.h"
#include "extensions/common/error_utils.h"
#include "net/cookies/site_for_cookies.h"
BrowserThread;
Clear;
Get;
Set;
namespace {
ChromeSettingScope;
bool RemoveContentType(base::Value::List& args,
ContentSettingsType* content_type) { … }
constexpr char kIncognitoContextError[] = …;
constexpr char kIncognitoSessionOnlyError[] = …;
constexpr char kInvalidUrlError[] = …;
}
namespace extensions {
ExtensionFunction::ResponseAction
ContentSettingsContentSettingClearFunction::Run() { … }
ExtensionFunction::ResponseAction
ContentSettingsContentSettingGetFunction::Run() { … }
ExtensionFunction::ResponseAction
ContentSettingsContentSettingSetFunction::Run() { … }
ExtensionFunction::ResponseAction
ContentSettingsContentSettingGetResourceIdentifiersFunction::Run() { … }
}