#include "chrome/browser/background/background_contents_service_factory.h"
#include "base/command_line.h"
#include "chrome/browser/background/background_contents_service.h"
#include "chrome/browser/extensions/extension_system_factory.h"
#include "chrome/browser/notifications/notification_display_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "extensions/browser/extension_host_registry.h"
#include "extensions/browser/extension_registry_factory.h"
BackgroundContentsService* BackgroundContentsServiceFactory::GetForProfile(
Profile* profile) { … }
BackgroundContentsServiceFactory*
BackgroundContentsServiceFactory::GetInstance() { … }
BackgroundContentsServiceFactory::BackgroundContentsServiceFactory()
: … { … }
BackgroundContentsServiceFactory::~BackgroundContentsServiceFactory() = default;
std::unique_ptr<KeyedService>
BackgroundContentsServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* profile) const { … }
void BackgroundContentsServiceFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* user_prefs) { … }
bool BackgroundContentsServiceFactory::ServiceIsCreatedWithBrowserContext()
const { … }