#include "chrome/browser/drive/drive_notification_manager_factory.h"
#include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/drive/drive_notification_manager.h"
#include "components/invalidation/invalidation_listener.h"
#include "components/invalidation/profile_invalidation_provider.h"
#include "components/invalidation/public/invalidation_service.h"
namespace drive {
namespace {
constexpr char kDriveFcmSenderId[] = …;
invalidation::InvalidationService* GetInvalidationService(Profile* profile) { … }
}
DriveNotificationManager*
DriveNotificationManagerFactory::FindForBrowserContext(
content::BrowserContext* context) { … }
DriveNotificationManager* DriveNotificationManagerFactory::GetForBrowserContext(
content::BrowserContext* context) { … }
DriveNotificationManagerFactory*
DriveNotificationManagerFactory::GetInstance() { … }
DriveNotificationManagerFactory::DriveNotificationManagerFactory()
: … { … }
DriveNotificationManagerFactory::~DriveNotificationManagerFactory() = default;
std::unique_ptr<KeyedService>
DriveNotificationManagerFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
}