Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(549)

Unified Diff: components/history/core/browser/history_types.h

Issue 2903573002: [Thumbnails DB] Add functionality to clear unused on-demand favicons. (Closed)
Patch Set: Compile error fixes #2 Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/history/core/browser/history_types.h
diff --git a/components/history/core/browser/history_types.h b/components/history/core/browser/history_types.h
index 17b97b4a038eccc31009b293b75e9c50db378b6e..00b6cb00aa87ebe9d084bbf225afe9dbd327ff08 100644
--- a/components/history/core/browser/history_types.h
+++ b/components/history/core/browser/history_types.h
@@ -524,6 +524,18 @@ enum FaviconBitmapType {
ON_DEMAND
};
+// Defines all associated mappings of a given favicon.
+struct IconMappingsForExpiry {
+ IconMappingsForExpiry();
+ IconMappingsForExpiry(const IconMappingsForExpiry& other);
+ ~IconMappingsForExpiry();
+
+ // URL of a given favicon.
+ GURL icon_url;
+ // URLs of all pages mapped to a given favicon
+ std::vector<GURL> page_urls;
+};
+
// Defines a favicon bitmap stored in the history backend.
struct FaviconBitmap {
FaviconBitmap();

Powered by Google App Engine
This is Rietveld 408576698