#include "chrome/browser/extensions/api/settings_private/generated_prefs.h"
#include "base/feature_list.h"
#include "base/functional/callback.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/content_settings/generated_cookie_prefs.h"
#include "chrome/browser/content_settings/generated_notification_pref.h"
#include "chrome/browser/content_settings/generated_permission_prompting_behavior_pref.h"
#include "chrome/browser/extensions/api/settings_private/generated_pref.h"
#include "chrome/browser/extensions/api/settings_private/prefs_util_enums.h"
#include "chrome/browser/password_manager/generated_password_leak_detection_pref.h"
#include "chrome/browser/safe_browsing/generated_safe_browsing_pref.h"
#include "chrome/browser/ssl/generated_https_first_mode_pref.h"
#include "chrome/common/extensions/api/settings_private.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"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/extensions/api/settings_private/chromeos_resolve_time_zone_by_geolocation_method_short.h"
#include "chrome/browser/extensions/api/settings_private/chromeos_resolve_time_zone_by_geolocation_on_off.h"
#endif
namespace extensions {
namespace settings_private {
GeneratedPrefs::GeneratedPrefs(Profile* profile) : … { … }
GeneratedPrefs::~GeneratedPrefs() = default;
bool GeneratedPrefs::HasPref(const std::string& pref_name) { … }
std::optional<api::settings_private::PrefObject> GeneratedPrefs::GetPref(
const std::string& pref_name) { … }
SetPrefResult GeneratedPrefs::SetPref(const std::string& pref_name,
const base::Value* value) { … }
void GeneratedPrefs::AddObserver(const std::string& pref_name,
GeneratedPref::Observer* observer) { … }
void GeneratedPrefs::RemoveObserver(const std::string& pref_name,
GeneratedPref::Observer* observer) { … }
void GeneratedPrefs::Shutdown() { … }
GeneratedPref* GeneratedPrefs::FindPrefImpl(const std::string& pref_name) { … }
void GeneratedPrefs::CreatePrefs() { … }
}
}