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

Issue 2796273002: Display offline availability on ContentSuggestions (Closed)

Created:
3 years, 8 months ago by gambard
Modified:
3 years, 8 months ago
Reviewers:
Olivier
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Display offline availability on ContentSuggestions This CL displays the offline availability of the ReadingList items in ContentSuggestions. BUG=706296, 702241 Review-Url: https://codereview.chromium.org/2796273002 Cr-Commit-Position: refs/heads/master@{#462416} Committed: https://chromium.googlesource.com/chromium/src/+/892e302345218f7ed2ecfd9295a6011df806026e

Patch Set 1 #

Patch Set 2 : Add comment #

Total comments: 14

Patch Set 3 : Adress comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -2 lines) Patch
M ios/chrome/browser/content_suggestions/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm View 1 2 3 chunks +13 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestion.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestion.mm View 1 chunk +1 line, -0 lines 0 comments Download
A ios/chrome/browser/ui/content_suggestions/content_suggestion_extra_builder.h View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A ios/chrome/browser/ui/content_suggestions/content_suggestion_extra_builder.mm View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_utils.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_utils.mm View 1 2 2 chunks +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (4 generated)
gambard
PTAL.
3 years, 8 months ago (2017-04-05 10:42:30 UTC) #2
Olivier
https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h File ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h (right): https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h#newcode13 ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h:13: @interface ContentSuggestionReadingListExtra : NSObject the file name should probably ...
3 years, 8 months ago (2017-04-05 11:58:11 UTC) #3
gambard
Thanks, PTAL. https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h File ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h (right): https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h#newcode13 ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h:13: @interface ContentSuggestionReadingListExtra : NSObject On 2017/04/05 11:58:11, ...
3 years, 8 months ago (2017-04-05 12:24:43 UTC) #4
Olivier
https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h File ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h (right): https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h#newcode13 ios/chrome/browser/ui/content_suggestions/content_suggestion_extra.h:13: @interface ContentSuggestionReadingListExtra : NSObject On 2017/04/05 12:24:43, gambard wrote: ...
3 years, 8 months ago (2017-04-05 13:07:24 UTC) #5
Olivier
https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode374 ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm:374: UIStatusFromModelStatus(ReadingListStateFromSuggestionState( IIUC, UIStatusFromModelStatus will be a really common name. ...
3 years, 8 months ago (2017-04-05 13:45:22 UTC) #6
Olivier
https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode376 ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm:376: ->distilled_state)); I think the real problem (that confuses me ...
3 years, 8 months ago (2017-04-05 14:03:44 UTC) #7
gambard
Thanks, PTAL. https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2796273002/diff/20001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode374 ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm:374: UIStatusFromModelStatus(ReadingListStateFromSuggestionState( On 2017/04/05 13:45:22, Olivier Robin wrote: ...
3 years, 8 months ago (2017-04-06 09:28:50 UTC) #8
Olivier
lgtm
3 years, 8 months ago (2017-04-06 09:35:14 UTC) #9
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/2796273002/40001
3 years, 8 months ago (2017-04-06 09:36:15 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 10:40:03 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/892e302345218f7ed2ecfd9295a6...

Powered by Google App Engine
This is Rietveld 408576698