#include "chrome/browser/push_messaging/push_messaging_service_factory.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/engagement/site_engagement_service_factory.h"
#include "chrome/browser/gcm/gcm_profile_service_factory.h"
#include "chrome/browser/gcm/instance_id/instance_id_profile_service_factory.h"
#include "chrome/browser/permissions/permission_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/push_messaging/push_messaging_service_impl.h"
#include "components/gcm_driver/instance_id/instance_id_profile_service.h"
PushMessagingServiceImpl* PushMessagingServiceFactory::GetForProfile(
content::BrowserContext* context) { … }
PushMessagingServiceFactory* PushMessagingServiceFactory::GetInstance() { … }
PushMessagingServiceFactory::PushMessagingServiceFactory()
: … { … }
PushMessagingServiceFactory::~PushMessagingServiceFactory() = default;
void PushMessagingServiceFactory::RestoreFactoryForTests(
content::BrowserContext* context) { … }
std::unique_ptr<KeyedService>
PushMessagingServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }