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

Issue 2956733002: Add 'Updated just now' timestamp to the Previews infobar (Closed)

Created:
3 years, 6 months ago by megjablon
Modified:
3 years, 6 months ago
Reviewers:
tbansal1
CC:
chromium-reviews, cbentzel+watch_chromium.org, srahim+watch_chromium.org, tbansal+watch-data-reduction-proxy_chromium.org, asvitkine+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add 'Updated just now' timestamp to the Previews infobar When a stale preview is refreshed, show a 'Updated just now' timestamp on the infobar. BUG=718643 Review-Url: https://codereview.chromium.org/2956733002 Cr-Commit-Position: refs/heads/master@{#482094} Committed: https://chromium.googlesource.com/chromium/src/+/7e19dfa32df45d1541fde8f76bcf8eb819889c0c

Patch Set 1 #

Total comments: 6

Patch Set 2 : tbansal comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -34 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_io_data.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate.h View 5 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/previews/previews_infobar_delegate.cc View 1 5 chunks +16 lines, -3 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate_unittest.cc View 21 chunks +49 lines, -25 lines 0 comments Download
M chrome/browser/previews/previews_infobar_tab_helper.h View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/previews/previews_infobar_tab_helper.cc View 4 chunks +11 lines, -3 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 2 chunks +6 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (13 generated)
megjablon
PTAL, thanks!
3 years, 6 months ago (2017-06-23 23:01:51 UTC) #7
tbansal1
https://codereview.chromium.org/2956733002/diff/20001/chrome/browser/previews/previews_infobar_delegate.h File chrome/browser/previews/previews_infobar_delegate.h (right): https://codereview.chromium.org/2956733002/diff/20001/chrome/browser/previews/previews_infobar_delegate.h#newcode87 chrome/browser/previews/previews_infobar_delegate.h:87: PreviewsInfoBarTabHelper* infobar_tab_helper_; Is this guaranteed to be non-null? May ...
3 years, 6 months ago (2017-06-23 23:13:32 UTC) #8
tbansal1
lgtm % comments. https://codereview.chromium.org/2956733002/diff/20001/chrome/browser/previews/previews_infobar_delegate.cc File chrome/browser/previews/previews_infobar_delegate.cc (right): https://codereview.chromium.org/2956733002/diff/20001/chrome/browser/previews/previews_infobar_delegate.cc#newcode292 chrome/browser/previews/previews_infobar_delegate.cc:292: return l10n_util::GetStringUTF16( consider adding: infobar_tab_helper_->set_displayed_preview_timestamp(true);
3 years, 6 months ago (2017-06-23 23:24:09 UTC) #9
megjablon
https://codereview.chromium.org/2956733002/diff/20001/chrome/browser/previews/previews_infobar_delegate.cc File chrome/browser/previews/previews_infobar_delegate.cc (right): https://codereview.chromium.org/2956733002/diff/20001/chrome/browser/previews/previews_infobar_delegate.cc#newcode292 chrome/browser/previews/previews_infobar_delegate.cc:292: return l10n_util::GetStringUTF16( On 2017/06/23 23:24:08, tbansal1 wrote: > consider ...
3 years, 6 months ago (2017-06-23 23:39:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2956733002/40001
3 years, 6 months ago (2017-06-23 23:47:03 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-24 00:47:34 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7e19dfa32df45d1541fde8f76bcf...

Powered by Google App Engine
This is Rietveld 408576698