chromium/components/flags_ui/pref_service_flags_storage.cc

// Copyright 2013 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/flags_ui/pref_service_flags_storage.h"

#include "base/logging.h"
#include "base/values.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/flags_ui/flags_ui_pref_names.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/scoped_user_pref_update.h"

namespace flags_ui {

PrefServiceFlagsStorage::PrefServiceFlagsStorage(PrefService* prefs)
    :{}

PrefServiceFlagsStorage::~PrefServiceFlagsStorage() {}

std::set<std::string> PrefServiceFlagsStorage::GetFlags() const {}

bool PrefServiceFlagsStorage::SetFlags(const std::set<std::string>& flags) {}

std::string PrefServiceFlagsStorage::GetOriginListFlag(
    const std::string& internal_entry_name) const {}

void PrefServiceFlagsStorage::SetOriginListFlag(
    const std::string& internal_entry_name,
    const std::string& origin_list_value) {}

std::string PrefServiceFlagsStorage::GetStringFlag(
    const std::string& internal_entry_name) const {}

void PrefServiceFlagsStorage::SetStringFlag(
    const std::string& internal_entry_name,
    const std::string& string_value) {}

void PrefServiceFlagsStorage::CommitPendingWrites() {}

// static
void PrefServiceFlagsStorage::RegisterPrefs(PrefRegistrySimple* registry) {}

#if BUILDFLAG(IS_CHROMEOS_ASH)
// static
void PrefServiceFlagsStorage::RegisterProfilePrefs(
    user_prefs::PrefRegistrySyncable* registry) {
  registry->RegisterListPref(prefs::kAboutFlagsEntries);
  registry->RegisterDictionaryPref(prefs::kAboutFlagsOriginLists);
}
#endif  // BUILDFLAG(IS_CHROMEOS_ASH)

}  // namespace flags_ui