chromium/components/prefs/pref_value_store.cc

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

#include "components/prefs/pref_value_store.h"

#include <stddef.h>

#include <string>
#include <string_view>

#include "base/logging.h"
#include "components/prefs/pref_notifier.h"
#include "components/prefs/pref_observer.h"

PrefValueStore::PrefStoreKeeper::PrefStoreKeeper()
    :{}

PrefValueStore::PrefStoreKeeper::~PrefStoreKeeper() {}

void PrefValueStore::PrefStoreKeeper::Initialize(
    PrefValueStore* store,
    PrefStore* pref_store,
    PrefValueStore::PrefStoreType type) {}

void PrefValueStore::PrefStoreKeeper::OnPrefValueChanged(std::string_view key) {}

void PrefValueStore::PrefStoreKeeper::OnInitializationCompleted(
    bool succeeded) {}

PrefValueStore::PrefValueStore(PrefStore* managed_prefs,
                               PrefStore* supervised_user_prefs,
                               PrefStore* extension_prefs,
                               PrefStore* standalone_browser_prefs,
                               PrefStore* command_line_prefs,
                               PrefStore* user_prefs,
                               PrefStore* recommended_prefs,
                               PrefStore* default_prefs,
                               PrefNotifier* pref_notifier)
    :{}

PrefValueStore::~PrefValueStore() {}

std::unique_ptr<PrefValueStore> PrefValueStore::CloneAndSpecialize(
    PrefStore* managed_prefs,
    PrefStore* supervised_user_prefs,
    PrefStore* extension_prefs,
    PrefStore* standalone_browser_prefs,
    PrefStore* command_line_prefs,
    PrefStore* user_prefs,
    PrefStore* recommended_prefs,
    PrefStore* default_prefs,
    PrefNotifier* pref_notifier) {}

PrefValueStore::PrefStoreType PrefValueStore::ControllingPrefStoreForPref(
    const std::string& name) const {}

bool PrefValueStore::GetValue(std::string_view name,
                              base::Value::Type type,
                              const base::Value** out_value) const {}

bool PrefValueStore::GetRecommendedValue(const std::string& name,
                                         base::Value::Type type,
                                         const base::Value** out_value) const {}

void PrefValueStore::NotifyPrefChanged(
    std::string_view path,
    PrefValueStore::PrefStoreType new_store) {}

bool PrefValueStore::PrefValueInManagedStore(const std::string& name) const {}

bool PrefValueStore::PrefValueInSupervisedStore(const std::string& name) const {}

bool PrefValueStore::PrefValueInExtensionStore(const std::string& name) const {}

bool PrefValueStore::PrefValueInUserStore(const std::string& name) const {}

bool PrefValueStore::PrefValueFromExtensionStore(
    const std::string& name) const {}

bool PrefValueStore::PrefValueFromUserStore(const std::string& name) const {}

bool PrefValueStore::PrefValueFromRecommendedStore(
    const std::string& name) const {}

bool PrefValueStore::PrefValueFromStandaloneBrowserStore(
    const std::string& name) const {}

bool PrefValueStore::PrefValueFromDefaultStore(const std::string& name) const {}

bool PrefValueStore::PrefValueUserModifiable(const std::string& name) const {}

bool PrefValueStore::PrefValueExtensionModifiable(
    const std::string& name) const {}

bool PrefValueStore::PrefValueStandaloneBrowserModifiable(
    const std::string& name) const {}

void PrefValueStore::UpdateCommandLinePrefStore(PrefStore* command_line_prefs) {}

bool PrefValueStore::IsInitializationComplete() const {}

bool PrefValueStore::PrefValueInStore(
    const std::string& name,
    PrefValueStore::PrefStoreType store) const {}

bool PrefValueStore::PrefValueInStoreRange(
    const std::string& name,
    PrefValueStore::PrefStoreType first_checked_store,
    PrefValueStore::PrefStoreType last_checked_store) const {}

bool PrefValueStore::GetValueFromStore(std::string_view name,
                                       PrefValueStore::PrefStoreType store_type,
                                       const base::Value** out_value) const {}

bool PrefValueStore::GetValueFromStoreWithType(
    std::string_view name,
    base::Value::Type type,
    PrefStoreType store,
    const base::Value** out_value) const {}

void PrefValueStore::OnPrefValueChanged(PrefValueStore::PrefStoreType type,
                                        std::string_view key) {}

void PrefValueStore::OnInitializationCompleted(
    PrefValueStore::PrefStoreType type, bool succeeded) {}

void PrefValueStore::InitPrefStore(PrefValueStore::PrefStoreType type,
                                   PrefStore* pref_store) {}

void PrefValueStore::CheckInitializationCompleted() {}