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

Unified Diff: chrome/common/instant_types.h

Issue 12732005: Most visited thumbnails and favicons need id-based urls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address estade's comments. Created 7 years, 9 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
« no previous file with comments | « chrome/browser/ui/webui/ntp/thumbnail_source.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/instant_types.h
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h
index a7e748b1c834ce7af16e6a7b271050063891c4dc..ae371c9a2a3d27687e26878c7b28fe707c7ce9a7 100644
--- a/chrome/common/instant_types.h
+++ b/chrome/common/instant_types.h
@@ -152,12 +152,17 @@ struct ThemeBackgroundInfo {
uint16 image_height;
};
-// A most visited item.
-struct MostVisitedItem {
- // URL of the most visited page.
+struct InstantMostVisitedItem {
+ InstantMostVisitedItem() : most_visited_item_id(0) {}
+
+ // A private identifier used on the browser side when retrieving assets.
+ uint64 most_visited_item_id;
+
+ // The URL of the Most Visited item.
GURL url;
- // Title of the most visited page.
+ // The title of the Most Visited page. May be empty, in which case the |url|
+ // is used as the title.
string16 title;
};
« no previous file with comments | « chrome/browser/ui/webui/ntp/thumbnail_source.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698