chromium/chrome/browser/extensions/api/settings_private/generated_pref.cc

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

#include "chrome/browser/extensions/api/settings_private/generated_pref.h"

#include "base/observer_list.h"
#include "chrome/common/extensions/api/settings_private.h"
#include "components/content_settings/core/common/content_settings.h"

settings_api;

namespace extensions {
namespace settings_private {

GeneratedPref::Observer::Observer() = default;
GeneratedPref::Observer::~Observer() = default;

GeneratedPref::GeneratedPref() = default;
GeneratedPref::~GeneratedPref() = default;

void GeneratedPref::AddObserver(Observer* observer) {}

void GeneratedPref::RemoveObserver(Observer* observer) {}

void GeneratedPref::NotifyObservers(const std::string& pref_name) {}

/* static */
void GeneratedPref::ApplyControlledByFromPref(
    api::settings_private::PrefObject* pref_object,
    const PrefService::Preference* pref) {}

/* static */
void GeneratedPref::ApplyControlledByFromContentSettingSource(
    api::settings_private::PrefObject* pref_object,
    content_settings::SettingSource setting_source) {}

/* static */
void GeneratedPref::AddUserSelectableValue(
    settings_api::PrefObject* pref_object,
    int value) {}

}  // namespace settings_private
}  // namespace extensions