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

Issue 2860083003: Add timestamp support to the Previews infobar (Closed)

Created:
3 years, 7 months ago by megjablon
Modified:
3 years, 7 months ago
CC:
chromium-reviews, agrieve+watch_chromium.org, dfalcantara+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add timestamp support to the Previews infobar Add a PreviewsInfobar so that when Previews are served, a timestamp of how old the Preview is can be added from the PreviewsInfoBarDelegate. BUG=718643 Review-Url: https://codereview.chromium.org/2860083003 Cr-Commit-Position: refs/heads/master@{#470678} Committed: https://chromium.googlesource.com/chromium/src/+/5eba853218417dd3fcc66332e95a9183e477c973

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix copyright dates #

Total comments: 4

Patch Set 3 : ryansturm comments #

Total comments: 4

Patch Set 4 : pkasting comments #

Patch Set 5 : sync and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -6 lines) Patch
A chrome/android/java/src/org/chromium/chrome/browser/infobar/PreviewsInfoBar.java View 1 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate.h View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate.cc View 1 2 3 3 chunks +20 lines, -4 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/infobars/previews_infobar.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/infobars/previews_infobar.cc View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (26 generated)
megjablon
PTAL dfalcantara, thanks!
3 years, 7 months ago (2017-05-05 17:35:21 UTC) #7
gone
lgtm % time travel https://codereview.chromium.org/2860083003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/infobar/PreviewsInfoBar.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/PreviewsInfoBar.java (right): https://codereview.chromium.org/2860083003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/infobar/PreviewsInfoBar.java#newcode1 chrome/android/java/src/org/chromium/chrome/browser/infobar/PreviewsInfoBar.java:1: // Copyright 2015 The Chromium ...
3 years, 7 months ago (2017-05-06 01:02:27 UTC) #8
megjablon
ryansturm: previews_infobar_delegate.*
3 years, 7 months ago (2017-05-08 20:27:51 UTC) #11
RyanSturm
https://codereview.chromium.org/2860083003/diff/20001/chrome/browser/previews/previews_infobar_delegate.h File chrome/browser/previews/previews_infobar_delegate.h (right): https://codereview.chromium.org/2860083003/diff/20001/chrome/browser/previews/previews_infobar_delegate.h#newcode69 chrome/browser/previews/previews_infobar_delegate.h:69: static std::unique_ptr<infobars::InfoBar> CreateInfoBar( Why is this declared here and ...
3 years, 7 months ago (2017-05-08 20:48:17 UTC) #13
megjablon
https://codereview.chromium.org/2860083003/diff/20001/chrome/browser/previews/previews_infobar_delegate.h File chrome/browser/previews/previews_infobar_delegate.h (right): https://codereview.chromium.org/2860083003/diff/20001/chrome/browser/previews/previews_infobar_delegate.h#newcode69 chrome/browser/previews/previews_infobar_delegate.h:69: static std::unique_ptr<infobars::InfoBar> CreateInfoBar( On 2017/05/08 20:48:17, Ryan Sturm wrote: ...
3 years, 7 months ago (2017-05-08 22:49:20 UTC) #14
megjablon
pkasting: components/infobars/*
3 years, 7 months ago (2017-05-08 22:50:22 UTC) #16
Peter Kasting
https://codereview.chromium.org/2860083003/diff/40001/chrome/browser/previews/previews_infobar_delegate.cc File chrome/browser/previews/previews_infobar_delegate.cc (right): https://codereview.chromium.org/2860083003/diff/40001/chrome/browser/previews/previews_infobar_delegate.cc#newcode89 chrome/browser/previews/previews_infobar_delegate.cc:89: std::unique_ptr<PreviewsInfoBarDelegate>(new PreviewsInfoBarDelegate( Nit: Since PreviewsInfoBarDelegate is a ConfirmInfoBarDelegate, it ...
3 years, 7 months ago (2017-05-08 23:33:35 UTC) #17
RyanSturm
lgtm % what I said before about the split declaration/definition. Not blocking, just weird.
3 years, 7 months ago (2017-05-08 23:36:53 UTC) #18
megjablon
https://codereview.chromium.org/2860083003/diff/40001/chrome/browser/previews/previews_infobar_delegate.cc File chrome/browser/previews/previews_infobar_delegate.cc (right): https://codereview.chromium.org/2860083003/diff/40001/chrome/browser/previews/previews_infobar_delegate.cc#newcode89 chrome/browser/previews/previews_infobar_delegate.cc:89: std::unique_ptr<PreviewsInfoBarDelegate>(new PreviewsInfoBarDelegate( On 2017/05/08 23:33:35, Peter Kasting wrote: > ...
3 years, 7 months ago (2017-05-09 00:14:33 UTC) #19
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/2860083003/80001
3 years, 7 months ago (2017-05-09 23:11:05 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 01:14:50 UTC) #34
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/2860083003/80001
3 years, 7 months ago (2017-05-10 17:08:49 UTC) #36
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 19:52:02 UTC) #39
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/5eba853218417dd3fcc66332e95a...

Powered by Google App Engine
This is Rietveld 408576698