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

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: Adds proper handling of ThumbnailSource 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
Index: chrome/common/instant_types.h
diff --git a/chrome/common/instant_types.h b/chrome/common/instant_types.h
index a7e748b1c834ce7af16e6a7b271050063891c4dc..f79a86210a4ccc490b424bfe23cc010074d8634a 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() : restricted_id(0) {}
+
+ // A private identifier used on the browser side when retrieving assets.
+ uint64 restricted_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;
};

Powered by Google App Engine
This is Rietveld 408576698