#include "chrome/browser/ui/web_applications/web_app_metrics_factory.h"
#include "chrome/browser/engagement/site_engagement_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/web_applications/web_app_metrics.h"
#include "chrome/browser/web_applications/web_app_provider_factory.h"
#include "chrome/browser/web_applications/web_app_utils.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
namespace web_app {
WebAppMetrics* WebAppMetricsFactory::GetForProfile(Profile* profile) { … }
WebAppMetricsFactory* WebAppMetricsFactory::GetInstance() { … }
WebAppMetricsFactory::WebAppMetricsFactory()
: … { … }
WebAppMetricsFactory::~WebAppMetricsFactory() = default;
std::unique_ptr<KeyedService>
WebAppMetricsFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
content::BrowserContext* WebAppMetricsFactory::GetBrowserContextToUse(
content::BrowserContext* context) const { … }
bool WebAppMetricsFactory::ServiceIsCreatedWithBrowserContext() const { … }
}