#include "components/webapps/browser/installable/installable_metrics.h"
#include <atomic>
#include <ostream>
#include "base/check.h"
#include "base/metrics/histogram_base.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/notreached.h"
#include "components/webapps/browser/webapps_client.h"
namespace webapps {
std::ostream& operator<<(std::ostream& os, WebappInstallSource source) { … }
std::ostream& operator<<(std::ostream& os, WebappUninstallSource source) { … }
bool IsUserUninstall(WebappUninstallSource source) { … }
void InstallableMetrics::TrackInstallEvent(WebappInstallSource source) { … }
bool InstallableMetrics::IsReportableInstallSource(WebappInstallSource source) { … }
WebappInstallSource InstallableMetrics::GetInstallSource(
content::WebContents* web_contents,
InstallTrigger trigger) { … }
void InstallableMetrics::TrackUninstallEvent(WebappUninstallSource source) { … }
void InstallableMetrics::TrackInstallResult(bool result,
WebappInstallSource source) { … }
}