chromium/chrome/browser/ui/web_applications/diagnostics/app_type_initialized_event.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_WEB_APPLICATIONS_DIAGNOSTICS_APP_TYPE_INITIALIZED_EVENT_H_
#define CHROME_BROWSER_UI_WEB_APPLICATIONS_DIAGNOSTICS_APP_TYPE_INITIALIZED_EVENT_H_

#include "base/memory/raw_ptr.h"
#include "base/scoped_observation.h"
#include "components/services/app_service/public/cpp/app_registry_cache.h"
#include "components/services/app_service/public/cpp/app_types.h"

class Profile;

namespace web_app {

// Helper class to wait for |app_type| to be initialized with the app service.
class AppTypeInitializedEvent : public apps::AppRegistryCache::Observer {};

}  // namespace web_app

#endif  // CHROME_BROWSER_UI_WEB_APPLICATIONS_DIAGNOSTICS_APP_TYPE_INITIALIZED_EVENT_H_