// 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. #ifndef COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_SUBRESOURCE_FILTER_PROFILE_CONTEXT_H_ #define COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_SUBRESOURCE_FILTER_PROFILE_CONTEXT_H_ #include <memory> #include "components/keyed_service/core/keyed_service.h" class HostContentSettingsMap; namespace subresource_filter { class SubresourceFilterContentSettingsManager; class AdsInterventionManager; // This class holds BrowserContext-scoped context for subresource filtering. The // embedder should use KeyedServiceFactory to associate instances of this class // with instances of (their subclass of) BrowserContext; see //chrome's // subresource_filter_profile_context_factory.* for an example. class SubresourceFilterProfileContext : public KeyedService { … }; } // namespace subresource_filter #endif // COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_SUBRESOURCE_FILTER_PROFILE_CONTEXT_H_