// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_ICON_INFO_H_ #define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_ICON_INFO_H_ #include <optional> #include "base/values.h" #include "url/gurl.h" namespace apps { // This struct holds info about an icon, but not the actual SkBitmap. It's // roughly a flattened version of `blink::mojom::ManifestImageResource`, as // there is one instance for each combination of URL, size and purpose, rather // than one instance per URL that holds vectors of sizes and purposes. struct IconInfo { … }; } // namespace apps #endif // COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_ICON_INFO_H_