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

Unified Diff: components/ntp_tiles/ntp_tile.h

Issue 2532103002: Add support for components/ntp_tiles in InstantService (Closed)
Patch Set: . Created 4 years 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/ntp_tile.h
diff --git a/components/ntp_tiles/ntp_tile.h b/components/ntp_tiles/ntp_tile.h
index fa37cf8568c096836159447c3213f6fee9ab712e..3ece726c7a63fb2060c5643fddd0f2331955090a 100644
--- a/components/ntp_tiles/ntp_tile.h
+++ b/components/ntp_tiles/ntp_tile.h
@@ -24,6 +24,12 @@ struct NTPTile {
// Only valid for source == WHITELIST (empty otherwise).
base::FilePath whitelist_icon_path;
+ // Only valid for source == SUGGESTIONS_SERVICE (empty otherwise).
+ // May point to a local chrome:// URL or to a remote one. May be empty.
+ GURL thumbnail_url;
+ // This won't be empty, but might 404 etc.
+ GURL favicon_url;
+
NTPTile();
NTPTile(const NTPTile&);
~NTPTile();
« chrome/browser/search/instant_service.cc ('K') | « components/ntp_tiles/most_visited_sites.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698