#include "components/webapps/browser/installable/metrics/site_manifest_metrics_task.h"
#include <memory>
#include "base/functional/callback_forward.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ref.h"
#include "base/memory/weak_ptr.h"
#include "components/webapps/browser/installable/installable_data.h"
#include "components/webapps/browser/installable/installable_manager.h"
#include "content/public/browser/web_contents.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "third_party/blink/public/common/manifest/manifest_util.h"
#include "third_party/blink/public/mojom/manifest/manifest.mojom-forward.h"
namespace webapps {
SiteManifestMetricsTask::~SiteManifestMetricsTask() = default;
std::unique_ptr<SiteManifestMetricsTask>
SiteManifestMetricsTask::CreateAndStart(
content::WebContents& web_contents,
ResultCallback collect_data_and_self_destruct_callback) { … }
SiteManifestMetricsTask::SiteManifestMetricsTask(
content::WebContents& web_contents,
ResultCallback collect_data_and_self_destruct_callback)
: … { … }
void SiteManifestMetricsTask::Start() { … }
void SiteManifestMetricsTask::OnDidFetchManifest(const InstallableData& data) { … }
}