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

Issue 2169393002: [M53] 📰Stop clearing suggestions to show the RELOAD card. (Closed)

Created:
4 years, 5 months ago by dgn
Modified:
4 years, 4 months ago
Reviewers:
Bernhard Bauer, Michael van Ouwerkerk, gordana.cmiljanovic
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2785
Target Ref:
refs/pending/branch-heads/2785
Project:
chromium
Visibility:
Public.

Description

[M53][NTP Client] Stop clearing suggestions to show the RELOAD card. We used to clear already loaded suggestions unconditionally when receiving notifications of the service status having changed. During startup we used to pull suggestions right away and get the status OK notification afterwards, which cleared them. We now properly detect and do nothing in that case. BUG=626831 TBR=bauerb@chromium.org NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2166753003 Cr-Commit-Position: refs/heads/master@{#406837} (cherry picked from commit fc4b68d76ae1bc8db479c14be1b306e9185a1626)

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -21 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapter.java View 7 chunks +26 lines, -13 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java View 1 chunk +52 lines, -8 lines 3 comments Download

Messages

Total messages: 14 (8 generated)
dgn
PTAL. I partially reverted the changes from https://codereview.chromium.org/2162093002 (Changing SnippetsArticleListItem to SnippetsArticle) to be able ...
4 years, 5 months ago (2016-07-22 10:00:52 UTC) #3
Michael van Ouwerkerk
lgtm
4 years, 5 months ago (2016-07-22 10:04:07 UTC) #4
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/2169393002/1
4 years, 5 months ago (2016-07-22 10:12:07 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-22 10:14:12 UTC) #10
gordanac
https://codereview.chromium.org/2169393002/diff/1/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java File chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java (right): https://codereview.chromium.org/2169393002/diff/1/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java#newcode159 chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java:159: List<SnippetArticleListItem> snippets = createDummySnippets(); I think you need to ...
4 years, 4 months ago (2016-08-04 15:52:19 UTC) #12
dgn
4 years, 4 months ago (2016-08-04 16:24:05 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2169393002/diff/1/chrome/android/junit/src/or...
File
chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java
(right):

https://codereview.chromium.org/2169393002/diff/1/chrome/android/junit/src/or...
chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java:159:
List<SnippetArticleListItem> snippets = createDummySnippets();
On 2016/08/04 15:52:19, gordanac wrote:
> I think you need to either merge https://codereview.chromium.org/2162093002 or
> rename this to SnippetArticle.
> 
> Currently, M53 build fails with error:
>
../../chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java:159:
> error: cannot find symbol
>         List<SnippetArticleListItem> snippets = createDummySnippets(); 
>              ^
> 
> You can see more details in:
>
http://www.rt-rk.com/mips-buildbot/builders/Release%20branch%20build/builds/1...

Oh no, sorry it slipped. Will send a CL ASAP

Powered by Google App Engine
This is Rietveld 408576698