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

Issue 2407283002: Extract a DataSource interface for items shown in a status card. (Closed)

Created:
4 years, 2 months ago by Bernhard Bauer
Modified:
4 years, 2 months ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extract a DataSource interface for items shown in a status card. This gets rid of some of the awkwardness in the class hierarchy for SignInPromoItem (which implements ItemGroup but also indirectly inherits from NewTabPageItem). BUG=616090 Committed: https://crrev.com/281c15dfc08bd0a1b1d3972c5b27784ce5e25020 Cr-Commit-Position: refs/heads/master@{#424770}

Patch Set 1 #

Patch Set 2 : o #

Total comments: 4

Patch Set 3 : rename #

Patch Set 4 : fix #

Patch Set 5 : rebase #

Patch Set 6 : argh #

Patch Set 7 : blergh #

Messages

Total messages: 47 (26 generated)
Bernhard Bauer
Please review. Thanks!
4 years, 2 months ago (2016-10-11 15:46:23 UTC) #6
Michael van Ouwerkerk
lgtm
4 years, 2 months ago (2016-10-11 16:01:16 UTC) #9
dgn
https://codereview.chromium.org/2407283002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java (right): https://codereview.chromium.org/2407283002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java#newcode28 chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java:28: public class SigninPromoItem implements ItemGroup, StatusCardViewHolder.DataSource { It's a ...
4 years, 2 months ago (2016-10-11 16:43:44 UTC) #10
Bernhard Bauer
https://codereview.chromium.org/2407283002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java (right): https://codereview.chromium.org/2407283002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java#newcode28 chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java:28: public class SigninPromoItem implements ItemGroup, StatusCardViewHolder.DataSource { On 2016/10/11 ...
4 years, 2 months ago (2016-10-11 16:50:24 UTC) #11
dgn
ltgm after the comment update. https://codereview.chromium.org/2407283002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java (right): https://codereview.chromium.org/2407283002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java#newcode28 chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java:28: public class SigninPromoItem implements ...
4 years, 2 months ago (2016-10-11 17:00:40 UTC) #12
Bernhard Bauer
On 2016/10/11 17:00:40, dgn wrote: > ltgm after the comment update. > > https://codereview.chromium.org/2407283002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SigninPromoItem.java > ...
4 years, 2 months ago (2016-10-12 09:54:43 UTC) #13
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/2407283002/40001
4 years, 2 months ago (2016-10-12 09:55:22 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/46814) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 2 months ago (2016-10-12 10:15:45 UTC) #18
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/2407283002/60001
4 years, 2 months ago (2016-10-12 12:23:56 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/85012) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 2 months ago (2016-10-12 12:25:44 UTC) #23
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/2407283002/80001
4 years, 2 months ago (2016-10-12 13:16:29 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/85024)
4 years, 2 months ago (2016-10-12 13:26:09 UTC) #28
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/2407283002/90007
4 years, 2 months ago (2016-10-12 14:03:13 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/46882)
4 years, 2 months ago (2016-10-12 14:27:12 UTC) #33
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/2407283002/110001
4 years, 2 months ago (2016-10-12 15:28:42 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/85118)
4 years, 2 months ago (2016-10-12 15:37:45 UTC) #38
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/2407283002/110001
4 years, 2 months ago (2016-10-12 15:53:36 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/85138)
4 years, 2 months ago (2016-10-12 16:04:13 UTC) #42
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/2407283002/110001
4 years, 2 months ago (2016-10-12 17:09:44 UTC) #44
commit-bot: I haz the power
Committed patchset #7 (id:110001)
4 years, 2 months ago (2016-10-12 17:20:12 UTC) #45
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 17:49:27 UTC) #47
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/281c15dfc08bd0a1b1d3972c5b27784ce5e25020
Cr-Commit-Position: refs/heads/master@{#424770}

Powered by Google App Engine
This is Rietveld 408576698