Lines Matching refs:thumbnail
73 "thumbnail BLOB,"
90 "SELECT url, url_rank, title, thumbnail, redirects, "
114 Images thumbnail;
115 thumbnail.thumbnail = RefCountedBytes::TakeVector(&data);
116 thumbnail.thumbnail_score.boring_score = statement.ColumnDouble(5);
117 thumbnail.thumbnail_score.good_clipping = statement.ColumnBool(6);
118 thumbnail.thumbnail_score.at_top = statement.ColumnBool(7);
119 thumbnail.thumbnail_score.time_at_snapshot =
122 (*thumbnails)[gurl] = thumbnail;
145 const Images& thumbnail) {
151 AddPageThumbnail(url, new_rank, thumbnail);
154 UpdatePageThumbnail(url, thumbnail);
161 const MostVisitedURL& url, const Images& thumbnail) {
165 "title = ?, thumbnail = ?, redirects = ?, "
172 if (thumbnail.thumbnail.get() && thumbnail.thumbnail->front()) {
173 statement.BindBlob(1, thumbnail.thumbnail->front(),
174 static_cast<int>(thumbnail.thumbnail->size()));
177 const ThumbnailScore& score = thumbnail.thumbnail_score;
189 const Images& thumbnail) {
195 "(url, url_rank, title, thumbnail, redirects, "
204 if (thumbnail.thumbnail.get() && thumbnail.thumbnail->front()) {
205 statement.BindBlob(3, thumbnail.thumbnail->front(),
206 static_cast<int>(thumbnail.thumbnail->size()));
209 const ThumbnailScore& score = thumbnail.thumbnail_score;
275 Images* thumbnail) {
278 "SELECT thumbnail, boring_score, good_clipping, at_top, last_updated "
292 thumbnail->thumbnail = RefCountedBytes::TakeVector(&data);
293 thumbnail->thumbnail_score.boring_score = statement.ColumnDouble(1);
294 thumbnail->thumbnail_score.good_clipping = statement.ColumnBool(2);
295 thumbnail->thumbnail_score.at_top = statement.ColumnBool(3);
296 thumbnail->thumbnail_score.time_at_snapshot =