#include "extensions/shell/browser/shell_prefs.h"
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/json_pref_store.h"
#include "components/prefs/pref_filter.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/pref_service_factory.h"
#include "components/sessions/core/session_id_generator.h"
#include "components/user_prefs/user_prefs.h"
#include "content/public/browser/browser_context.h"
#include "extensions/browser/api/audio/audio_api.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/permissions_manager.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chromeos/ash/components/audio/audio_devices_pref_handler_impl.h"
#endif
FilePath;
PrefRegistrySyncable;
namespace extensions {
namespace {
void RegisterLocalStatePrefs(PrefRegistrySimple* registry) { … }
scoped_refptr<JsonPrefStore> CreateAndLoadPrefStore(const FilePath& filepath) { … }
}
namespace shell_prefs {
std::unique_ptr<PrefService> CreateLocalState(const FilePath& data_dir) { … }
std::unique_ptr<PrefService> CreateUserPrefService(
content::BrowserContext* browser_context) { … }
}
}