chromium/components/favicon/core/favicon_types.h

// Copyright 2020 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_FAVICON_CORE_FAVICON_TYPES_H_
#define COMPONENTS_FAVICON_CORE_FAVICON_TYPES_H_

#include <vector>

#include "base/memory/ref_counted_memory.h"
#include "base/time/time.h"
#include "components/favicon_base/favicon_types.h"
#include "ui/gfx/geometry/size.h"
#include "url/gurl.h"

namespace favicon {

FaviconBitmapID;  // Identifier for a bitmap in a favicon.
IconMappingID;    // For page url and icon mapping.

// Used for the mapping between the page and icon.
struct IconMapping {};

// Defines a favicon bitmap and its associated pixel size.
struct FaviconBitmapIDSize {};

enum FaviconBitmapType {};

// Defines all associated mappings of a given favicon.
struct IconMappingsForExpiry {};

// Defines a favicon bitmap stored in the history backend.
struct FaviconBitmap {};

struct UpdateFaviconMappingsResult {};

struct MergeFaviconResult {};

struct SetFaviconsResult {};

}  // namespace favicon

#endif  // COMPONENTS_FAVICON_CORE_FAVICON_TYPES_H_