1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_WEB_PUBLIC_FAVICON_STATUS_H_
6 #define IOS_WEB_PUBLIC_FAVICON_STATUS_H_
8 #include "ui/gfx/image/image.h"
13 // Collects the favicon related information for a NavigationItem.
14 struct FaviconStatus
{
17 // Indicates whether we've gotten an official favicon for the page, or are
18 // just using the default favicon.
21 // The URL of the favicon which was used to load it off the web.
24 // The favicon bitmap for the page. If the favicon has not been explicitly
25 // set or it empty, it will return the default favicon. Note that this is
26 // loaded asynchronously, so even if the favicon URL is valid we may return
27 // the default favicon if we haven't gotten the data yet.
30 // Copy and assignment is explicitly allowed for this struct.
35 #endif // IOS_WEB_PUBLIC_FAVICON_STATUS_H_