| Index: chrome/browser/history/history_types.h
|
| diff --git a/chrome/browser/history/history_types.h b/chrome/browser/history/history_types.h
|
| index a6822cb3a99c13860c5aa9dea831e9bcea7cc05c..d62105610ff7e678f202236611d3d67a4a173d55 100644
|
| --- a/chrome/browser/history/history_types.h
|
| +++ b/chrome/browser/history/history_types.h
|
| @@ -703,6 +703,30 @@ struct IconMapping {
|
| IconType icon_type;
|
| };
|
|
|
| +// Defines the favicon stored in history backend.
|
| +struct FaviconData {
|
| + FaviconData();
|
| + ~FaviconData();
|
| +
|
| + // Returns true if the icon is known and image has data.
|
| + bool is_valid();
|
| +
|
| + // Indicates whether the icon is known by the history backend.
|
| + bool known_icon;
|
| +
|
| + // The bits of image.
|
| + scoped_refptr<RefCountedMemory> image_data;
|
| +
|
| + // Indicates whether image is expired.
|
| + bool expired;
|
| +
|
| + // The icon's URL.
|
| + GURL icon_url;
|
| +
|
| + // The type of favicon.
|
| + history::IconType icon_type;
|
| +};
|
| +
|
| } // namespace history
|
|
|
| #endif // CHROME_BROWSER_HISTORY_HISTORY_TYPES_H_
|
|
|