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

Issue 59903010: Ensure using chrome://thumb2/... adds the URL as a forced URL in TopSites so that a thumbnail is ca… (Closed)

Created:
7 years, 1 month ago by beaudoin
Modified:
7 years, 1 month ago
Reviewers:
brettw, sky, Evan Stade
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, estade+watch_chromium.org, browser-components-watch_chromium.org, pedrosimonetti+watch_chromium.org
Visibility:
Public.

Description

Ensure using chrome://thumb2/... adds the URL as a forced URL in TopSites so that a thumbnail is captured next time it is visited. Following up on patches: - https://codereview.chromium.org/53283004/ - https://codereview.chromium.org/39053005/ BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236639

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Rebased. #

Patch Set 4 : Completed with unit test. #

Total comments: 4

Patch Set 5 : Updated comment for ThumbnailSource. #

Patch Set 6 : Take 2. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -130 lines) Patch
M chrome/browser/history/top_sites.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/history/top_sites_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/history/top_sites_impl.cc View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/history/top_sites_impl_unittest.cc View 1 2 3 6 chunks +208 lines, -119 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_service.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_service_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_service_impl.cc View 1 2 3 4 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/thumbnail_list_source.cc View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/thumbnail_source.h View 1 2 3 4 5 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/thumbnail_source.cc View 1 2 3 4 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
beaudoin
Hi Brett, The third (and last) CL in my series to add forced URL to ...
7 years, 1 month ago (2013-11-13 18:20:59 UTC) #1
beaudoin
On 2013/11/13 18:20:59, beaudoin wrote: > Hi Brett, > > The third (and last) CL ...
7 years, 1 month ago (2013-11-15 04:07:51 UTC) #2
beaudoin
On 2013/11/15 04:07:51, beaudoin wrote: > On 2013/11/13 18:20:59, beaudoin wrote: > > Hi Brett, ...
7 years, 1 month ago (2013-11-18 15:58:39 UTC) #3
brettw
https://codereview.chromium.org/59903010/diff/90001/chrome/browser/history/top_sites_impl.cc File chrome/browser/history/top_sites_impl.cc (right): https://codereview.chromium.org/59903010/diff/90001/chrome/browser/history/top_sites_impl.cc#newcode619 chrome/browser/history/top_sites_impl.cc:619: if (new_list[index].last_forced_time.is_null()) Non-forced URLs might move around a lot. ...
7 years, 1 month ago (2013-11-19 06:38:09 UTC) #4
beaudoin
https://codereview.chromium.org/59903010/diff/90001/chrome/browser/history/top_sites_impl.cc File chrome/browser/history/top_sites_impl.cc (right): https://codereview.chromium.org/59903010/diff/90001/chrome/browser/history/top_sites_impl.cc#newcode619 chrome/browser/history/top_sites_impl.cc:619: if (new_list[index].last_forced_time.is_null()) On 2013/11/19 06:38:09, brettw wrote: > Non-forced ...
7 years, 1 month ago (2013-11-19 11:59:45 UTC) #5
brettw
Sounds OK, just wanted to make sure we thought about that. LGTM
7 years, 1 month ago (2013-11-19 23:21:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/59903010/90001
7 years, 1 month ago (2013-11-20 01:10:07 UTC) #7
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=37122
7 years, 1 month ago (2013-11-20 02:39:56 UTC) #8
beaudoin
Hi Scott, Evan, I'll need your review on this, I missed Brett wasn't owner on: ...
7 years, 1 month ago (2013-11-20 03:54:23 UTC) #9
sky
LGTM
7 years, 1 month ago (2013-11-20 15:10:49 UTC) #10
Evan Stade
https://codereview.chromium.org/59903010/diff/90001/chrome/browser/ui/webui/ntp/thumbnail_source.h File chrome/browser/ui/webui/ntp/thumbnail_source.h (right): https://codereview.chromium.org/59903010/diff/90001/chrome/browser/ui/webui/ntp/thumbnail_source.h#newcode56 chrome/browser/ui/webui/ntp/thumbnail_source.h:56: // Indicate that this source will force the eventual ...
7 years, 1 month ago (2013-11-20 22:32:36 UTC) #11
beaudoin
https://codereview.chromium.org/59903010/diff/90001/chrome/browser/ui/webui/ntp/thumbnail_source.h File chrome/browser/ui/webui/ntp/thumbnail_source.h (right): https://codereview.chromium.org/59903010/diff/90001/chrome/browser/ui/webui/ntp/thumbnail_source.h#newcode56 chrome/browser/ui/webui/ntp/thumbnail_source.h:56: // Indicate that this source will force the eventual ...
7 years, 1 month ago (2013-11-21 00:06:45 UTC) #12
Evan Stade
new comment is great, thanks! lgtm
7 years, 1 month ago (2013-11-21 19:06:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/59903010/470001
7 years, 1 month ago (2013-11-21 19:40:19 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-11-22 00:01:52 UTC) #15
Message was sent while issue was closed.
Change committed as 236639

Powered by Google App Engine
This is Rietveld 408576698