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

Issue 2663313002: 📰 Merge the has_fetch_more and has_reload actions (Closed)

Created:
3 years, 10 months ago by dgn
Modified:
3 years, 10 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP Client] Merge the has_fetch_more and has_reload actions These 2 action types are redudnant now that fetch more is not behind a flag. This patch consolidates one in a single property of category_info. BUG=667752 Review-Url: https://codereview.chromium.org/2663313002 Cr-Commit-Position: refs/heads/master@{#447556} Committed: https://chromium.googlesource.com/chromium/src/+/d6270c784225d5a230201f41866c99caf6c00a2e

Patch Set 1 #

Patch Set 2 : Fix native compilation #

Patch Set 3 : fix tests pt 2 #

Total comments: 5

Patch Set 4 : address comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -245 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/ActionItem.java View 4 chunks +6 lines, -15 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsCategoryInfo.java View 3 chunks +8 lines, -21 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSection.java View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerViewTest.java View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java View 1 2 3 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/ContentSuggestionsTestUtils.java View 5 chunks +6 lines, -12 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java View 1 2 3 4 4 chunks +11 lines, -14 lines 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java View 1 2 3 4 21 chunks +30 lines, -102 lines 0 comments Download
M chrome/browser/android/ntp/ntp_snippets_bridge.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ntp_snippets/download_suggestions_provider.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M components/ntp_snippets/bookmarks/bookmark_suggestions_provider.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M components/ntp_snippets/category_info.h View 3 chunks +5 lines, -11 lines 0 comments Download
M components/ntp_snippets/category_info.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M components/ntp_snippets/content_suggestions_service_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M components/ntp_snippets/mock_content_suggestions_provider.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M components/ntp_snippets/offline_pages/recent_tab_suggestions_provider_unittest.cc View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M components/ntp_snippets/remote/json_request.cc View 2 chunks +2 lines, -8 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_fetcher.cc View 2 chunks +2 lines, -8 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc View 1 3 chunks +4 lines, -9 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_provider_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_provider_impl_unittest.cc View 1 4 chunks +4 lines, -8 lines 0 comments Download
M components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 27 (20 generated)
dgn
PTAL
3 years, 10 months ago (2017-02-01 13:21:37 UTC) #10
dgn
https://codereview.chromium.org/2663313002/diff/40001/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java File chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java (right): https://codereview.chromium.org/2663313002/diff/40001/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java#newcode363 chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java:363: public void testFetchActionPriority() { Not sure if I should ...
3 years, 10 months ago (2017-02-01 13:27:58 UTC) #11
Marc Treib
Yay! C++ lgtm (I didn't look at any of the Java code) https://codereview.chromium.org/2663313002/diff/40001/components/ntp_snippets/mock_content_suggestions_provider.cc File components/ntp_snippets/mock_content_suggestions_provider.cc ...
3 years, 10 months ago (2017-02-01 13:33:42 UTC) #12
Bernhard Bauer
lgtm https://codereview.chromium.org/2663313002/diff/40001/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java File chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java (right): https://codereview.chromium.org/2663313002/diff/40001/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java#newcode363 chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java:363: public void testFetchActionPriority() { On 2017/02/01 13:27:58, dgn ...
3 years, 10 months ago (2017-02-01 14:11:06 UTC) #13
dgn
Thanks! https://codereview.chromium.org/2663313002/diff/40001/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java File chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java (right): https://codereview.chromium.org/2663313002/diff/40001/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java#newcode363 chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java:363: public void testFetchActionPriority() { On 2017/02/01 14:11:06, Bernhard ...
3 years, 10 months ago (2017-02-01 18:01:52 UTC) #20
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/2663313002/80001
3 years, 10 months ago (2017-02-01 18:02:29 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 18:23:18 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/d6270c784225d5a230201f41866c...

Powered by Google App Engine
This is Rietveld 408576698