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

Unified Diff: components/favicon_base/favicon_types.h

Issue 2866033002: [NTP Tiles] Fetch missing MostLikely tiles from a Google server (Closed)
Patch Set: Some unit-tests Created 3 years, 7 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/favicon_base/favicon_types.h
diff --git a/components/favicon_base/favicon_types.h b/components/favicon_base/favicon_types.h
index 47c63aeb6fa0aca7d02999e5c5db8b622e90b4bc..2b2ecec2351177ee624f7f11c6f4f3fde553f391 100644
--- a/components/favicon_base/favicon_types.h
+++ b/components/favicon_base/favicon_types.h
@@ -90,6 +90,10 @@ struct LargeIconResult {
~LargeIconResult();
+ // Returns true if the LargeIconResult contains no data (neither in |bitmap|,
+ // nor in |fallback_icon_style|).
+ bool is_empty() const;
+
// The bitmap from the favicon database if the database has a sufficiently
// large one.
FaviconRawBitmapResult bitmap;

Powered by Google App Engine
This is Rietveld 408576698