chromium/extensions/browser/api/content_settings/content_settings_custom_extension_provider.h

// 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.

#ifndef EXTENSIONS_BROWSER_API_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVIDER_H_
#define EXTENSIONS_BROWSER_API_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVIDER_H_

#include <string>

#include "base/memory/scoped_refptr.h"
#include "components/content_settings/core/browser/content_settings_observable_provider.h"
#include "extensions/browser/api/content_settings/content_settings_store.h"
#include "extensions/common/extension_id.h"

namespace content_settings {

// A content settings provider which manages settings defined by extensions.
//
// PartitionKey is ignored by this provider because the content settings should
// apply across partitions.
class CustomExtensionProvider : public ObservableProvider,
                          public extensions::ContentSettingsStore::Observer {};

}  // namespace content_settings

#endif  // EXTENSIONS_BROWSER_API_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVIDER_H_