#include "chrome/browser/metrics/desktop_session_duration/desktop_profile_session_durations_service_factory.h"
#include "chrome/browser/metrics/desktop_session_duration/desktop_profile_session_durations_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "content/public/browser/browser_context.h"
namespace metrics {
DesktopProfileSessionDurationsService*
DesktopProfileSessionDurationsServiceFactory::GetForBrowserContext(
content::BrowserContext* context) { … }
DesktopProfileSessionDurationsServiceFactory*
DesktopProfileSessionDurationsServiceFactory::GetInstance() { … }
DesktopProfileSessionDurationsServiceFactory::
DesktopProfileSessionDurationsServiceFactory()
: … { … }
DesktopProfileSessionDurationsServiceFactory::
~DesktopProfileSessionDurationsServiceFactory() = default;
std::unique_ptr<KeyedService> DesktopProfileSessionDurationsServiceFactory::
BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
}