#include "chrome/browser/extensions/api/settings_private/settings_private_delegate.h"
#include <memory>
#include <utility>
#include "base/values.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/extensions/api/settings_private/prefs_util.h"
#include "chrome/browser/extensions/api/settings_private/prefs_util_enums.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/extension.h"
#include "third_party/blink/public/common/page/page_zoom.h"
#include "url/gurl.h"
namespace extensions {
SettingsPrivateDelegate::SettingsPrivateDelegate(Profile* profile)
: … { … }
SettingsPrivateDelegate::~SettingsPrivateDelegate() { … }
std::optional<base::Value::Dict> SettingsPrivateDelegate::GetPref(
const std::string& name) { … }
base::Value::List SettingsPrivateDelegate::GetAllPrefs() { … }
settings_private::SetPrefResult SettingsPrivateDelegate::SetPref(
const std::string& pref_name,
const base::Value* value) { … }
base::Value SettingsPrivateDelegate::GetDefaultZoom() { … }
settings_private::SetPrefResult SettingsPrivateDelegate::SetDefaultZoom(
double zoom) { … }
}