#include "chrome/browser/ui/web_applications/diagnostics/app_type_initialized_event.h"
#include "base/task/sequenced_task_runner.h"
#include "chrome/browser/apps/app_service/app_service_proxy.h"
#include "chrome/browser/apps/app_service/app_service_proxy_factory.h"
#include "components/services/app_service/public/cpp/app_registry_cache.h"
namespace web_app {
AppTypeInitializedEvent::AppTypeInitializedEvent(Profile* profile,
apps::AppType app_type)
: … { … }
AppTypeInitializedEvent::~AppTypeInitializedEvent() = default;
bool AppTypeInitializedEvent::Post(base::OnceClosure callback) { … }
void AppTypeInitializedEvent::OnAppTypeInitialized(apps::AppType app_type) { … }
void AppTypeInitializedEvent::OnAppRegistryCacheWillBeDestroyed(
apps::AppRegistryCache* cache) { … }
}