#include "chrome/browser/plugins/plugin_prefs_factory.h"
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "chrome/browser/plugins/plugin_prefs.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/pref_names.h"
#include "components/keyed_service/core/keyed_service.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
PluginPrefsFactory* PluginPrefsFactory::GetInstance() { … }
scoped_refptr<PluginPrefs> PluginPrefsFactory::GetPrefsForProfile(
Profile* profile) { … }
scoped_refptr<RefcountedKeyedService>
PluginPrefsFactory::CreateForTestingProfile(content::BrowserContext* profile) { … }
PluginPrefsFactory::PluginPrefsFactory()
: … { … }
PluginPrefsFactory::~PluginPrefsFactory() = default;
scoped_refptr<RefcountedKeyedService>
PluginPrefsFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const { … }
void PluginPrefsFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) { … }
bool PluginPrefsFactory::ServiceIsNULLWhileTesting() const { … }
bool PluginPrefsFactory::ServiceIsCreatedWithBrowserContext() const { … }