#include "components/services/app_service/public/cpp/app_registry_cache.h"
#include <utility>
#include "base/containers/contains.h"
#include "base/observer_list.h"
#include "build/chromeos_buildflags.h"
#include "components/services/app_service/public/cpp/app_registry_cache_wrapper.h"
#include "components/services/app_service/public/cpp/types_util.h"
namespace apps {
AppRegistryCache::Observer::Observer() = default;
AppRegistryCache::Observer::~Observer() { … }
AppRegistryCache::AppRegistryCache() : … { … }
AppRegistryCache::~AppRegistryCache() { … }
void AppRegistryCache::AddObserver(Observer* observer) { … }
void AppRegistryCache::RemoveObserver(Observer* observer) { … }
AppType AppRegistryCache::GetAppType(const std::string& app_id) { … }
std::vector<AppPtr> AppRegistryCache::GetAllApps() { … }
void AppRegistryCache::SetAccountId(const AccountId& account_id) { … }
const std::set<AppType>& AppRegistryCache::InitializedAppTypes() const { … }
bool AppRegistryCache::IsAppTypeInitialized(apps::AppType app_type) const { … }
bool AppRegistryCache::IsAppTypePublished(apps::AppType app_type) const { … }
bool AppRegistryCache::IsAppInstalled(const std::string& app_id) const { … }
void AppRegistryCache::ReinitializeForTesting() { … }
void AppRegistryCache::OnAppsForTesting(std::vector<AppPtr> deltas,
apps::AppType app_type,
bool should_notify_initialized) { … }
void AppRegistryCache::OnApps(std::vector<AppPtr> deltas,
apps::AppType app_type,
bool should_notify_initialized) { … }
void AppRegistryCache::OnApps(std::vector<AppPtr> deltas) { … }
void AppRegistryCache::DoOnApps(std::vector<AppPtr> deltas) { … }
void AppRegistryCache::InitApps(apps::AppType app_type) { … }
void AppRegistryCache::OnAppTypeInitialized() { … }
}