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

Issue 2691593002: Connect ContentSuggestionsMediator to the ContentService (Closed)

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

Description

Connect ContentSuggestionsMediator to the ContentService ContentSuggestionsMediator expose the suggestions from the ContentService instead of empty ones. BUG=686728 Review-Url: https://codereview.chromium.org/2691593002 Cr-Commit-Position: refs/heads/master@{#451586} Committed: https://chromium.googlesource.com/chromium/src/+/907dd7c27ec76ec75fad3c9659ba323e83376fd7

Patch Set 1 #

Patch Set 2 : Fix task runner #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Remove unused method #

Total comments: 31

Patch Set 6 : Address comments #

Total comments: 23

Patch Set 7 : Address comments #

Patch Set 8 : Split CL #

Total comments: 7

Patch Set 9 : Address comments #

Total comments: 18

Patch Set 10 : Address comments #

Total comments: 14

Patch Set 11 : Address comments #

Messages

Total messages: 27 (9 generated)
gambard
PTAL.
3 years, 10 months ago (2017-02-14 09:04:48 UTC) #3
lpromero
Should there be more tests? Much of what is changed in this CL is in ...
3 years, 10 months ago (2017-02-14 10:52:28 UTC) #4
gambard
https://codereview.chromium.org/2691593002/diff/80001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2691593002/diff/80001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode43 ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm:43: return ContentSuggestionsSectionCount; On 2017/02/14 10:52:27, lpromero wrote: > If ...
3 years, 10 months ago (2017-02-14 14:03:43 UTC) #5
lpromero
https://codereview.chromium.org/2691593002/diff/80001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2691593002/diff/80001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode43 ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm:43: return ContentSuggestionsSectionCount; On 2017/02/14 14:03:42, gambard wrote: > On ...
3 years, 10 months ago (2017-02-14 15:43:33 UTC) #6
stkhapugin
This CL is too big, please break down into several. Should be relatively straightforward, since ...
3 years, 10 months ago (2017-02-14 16:34:19 UTC) #7
gambard
Thanks. I have split this CL, PTAL. 2nd CL: https://codereview.chromium.org/2697843003 https://codereview.chromium.org/2691593002/diff/80001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2691593002/diff/80001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode43 ...
3 years, 10 months ago (2017-02-15 10:17:57 UTC) #10
stkhapugin
https://codereview.chromium.org/2691593002/diff/100001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2691593002/diff/100001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode167 ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm:167: - (ContentSuggestion*)convertContentSuggestion: On 2017/02/15 10:17:56, gambard wrote: > On ...
3 years, 10 months ago (2017-02-15 15:35:43 UTC) #11
gambard
Thanks, PTAL. https://codereview.chromium.org/2691593002/diff/100001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2691593002/diff/100001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode167 ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm:167: - (ContentSuggestion*)convertContentSuggestion: On 2017/02/15 15:35:42, stkhapugin wrote: ...
3 years, 10 months ago (2017-02-16 10:06:30 UTC) #12
stkhapugin
https://codereview.chromium.org/2691593002/diff/160001/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h File ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h (right): https://codereview.chromium.org/2691593002/diff/160001/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h#newcode42 ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h:42: @property(nonatomic, strong) CollectionViewItem* emptyCell; On 2017/02/16 10:06:30, gambard wrote: ...
3 years, 10 months ago (2017-02-16 10:53:27 UTC) #13
gambard
+marq for content_suggestions_section_information.h API change :)
3 years, 10 months ago (2017-02-16 12:15:45 UTC) #15
marq (ping after 24h)
https://codereview.chromium.org/2691593002/diff/100001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm File ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm (right): https://codereview.chromium.org/2691593002/diff/100001/ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm#newcode83 ios/chrome/browser/content_suggestions/content_suggestions_mediator.mm:83: @synthesize sectionInformationByCategory = _sectionInformationByCategory; On 2017/02/15 10:17:56, gambard wrote: ...
3 years, 10 months ago (2017-02-16 13:14:36 UTC) #16
gambard
Thanks, PTAL. https://codereview.chromium.org/2691593002/diff/180001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h (right): https://codereview.chromium.org/2691593002/diff/180001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h#newcode23 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h:23: // The category wrapped by this object. ...
3 years, 10 months ago (2017-02-16 13:45:53 UTC) #17
stkhapugin
lgtm https://codereview.chromium.org/2691593002/diff/180001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h (right): https://codereview.chromium.org/2691593002/diff/180001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h#newcode23 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h:23: // The category wrapped by this object. On ...
3 years, 10 months ago (2017-02-17 13:46:16 UTC) #18
marq (ping after 24h)
lgtm https://codereview.chromium.org/2691593002/diff/180001/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm File ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm (left): https://codereview.chromium.org/2691593002/diff/180001/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm#oldcode28 ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.mm:28: _layout = layout; On 2017/02/16 13:45:53, gambard wrote: ...
3 years, 10 months ago (2017-02-17 13:54:13 UTC) #19
lpromero
lgtm https://codereview.chromium.org/2691593002/diff/200001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h (right): https://codereview.chromium.org/2691593002/diff/200001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h#newcode19 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h:19: NS_DESIGNATED_INITIALIZER; Optional: Do you need this initializer anywhere ...
3 years, 10 months ago (2017-02-17 15:47:52 UTC) #20
gambard
Thanks! https://codereview.chromium.org/2691593002/diff/200001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h File ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h (right): https://codereview.chromium.org/2691593002/diff/200001/ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h#newcode19 ios/chrome/browser/content_suggestions/content_suggestions_category_wrapper.h:19: NS_DESIGNATED_INITIALIZER; On 2017/02/17 15:47:51, lpromero wrote: > Optional: ...
3 years, 10 months ago (2017-02-20 07:57:31 UTC) #21
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/2691593002/220001
3 years, 10 months ago (2017-02-20 09:28:33 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 10:00:42 UTC) #27
Message was sent while issue was closed.
Committed patchset #11 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/907dd7c27ec76ec75fad3c9659ba...

Powered by Google App Engine
This is Rietveld 408576698