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

Unified Diff: components/ntp_tiles/popular_sites.h

Issue 2695713004: Add baked-in favicons for default popular sites on NTP (Closed)
Patch Set: Add default resource attribute to Site Created 3 years, 10 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/ntp_tiles/popular_sites.h
diff --git a/components/ntp_tiles/popular_sites.h b/components/ntp_tiles/popular_sites.h
index dde8459ba5b2c74db311b268852b52fb35d8d775..5886eda15f8b052c1902938712793a9d18733e4d 100644
--- a/components/ntp_tiles/popular_sites.h
+++ b/components/ntp_tiles/popular_sites.h
@@ -37,6 +37,7 @@ class PopularSites {
GURL favicon_url;
GURL large_icon_url;
GURL thumbnail_url;
+ int default_resource_id; // 0 if there is none. Used for popular defaults.
sfiera 2017/02/16 18:54:16 <0
fhorschig 2017/02/17 16:24:04 Correct.
};
using SitesVector = std::vector<Site>;

Powered by Google App Engine
This is Rietveld 408576698