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

Issue 2720423003: Get Suggestions image only if it is not empty (Closed)

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

Description

Get Suggestions image only if it is not empty This CL makes sure that the ContentSuggestions update the ContentSuggestionsArticles only if an image has been fetched. BUG=697361 Review-Url: https://codereview.chromium.org/2720423003 Cr-Commit-Position: refs/heads/master@{#453926} Committed: https://chromium.googlesource.com/chromium/src/+/a260bac5596e34409d6e7842b98e8024772c2e59

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add comment #

Patch Set 3 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -16 lines) Patch
M ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm View 1 2 3 chunks +9 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item_unittest.mm View 1 2 2 chunks +13 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.mm View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
gambard
PTAL
3 years, 9 months ago (2017-03-01 08:22:22 UTC) #2
Olivier
https://codereview.chromium.org/2720423003/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm File ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm (right): https://codereview.chromium.org/2720423003/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm#newcode64 ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm:64: [self.delegate loadImageForArticleItem:self]; This looks async. Is it OK to ...
3 years, 9 months ago (2017-03-01 08:33:56 UTC) #3
gambard
https://codereview.chromium.org/2720423003/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm File ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm (right): https://codereview.chromium.org/2720423003/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm#newcode64 ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm:64: [self.delegate loadImageForArticleItem:self]; On 2017/03/01 08:33:56, Olivier Robin wrote: > ...
3 years, 9 months ago (2017-03-01 08:37:13 UTC) #4
Olivier
LGTM, nits https://codereview.chromium.org/2720423003/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm File ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm (right): https://codereview.chromium.org/2720423003/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm#newcode64 ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm:64: [self.delegate loadImageForArticleItem:self]; On 2017/03/01 08:37:12, gambard wrote: ...
3 years, 9 months ago (2017-03-01 12:42:08 UTC) #5
gambard
Thanks! https://codereview.chromium.org/2720423003/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm File ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm (right): https://codereview.chromium.org/2720423003/diff/1/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm#newcode64 ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm:64: [self.delegate loadImageForArticleItem:self]; On 2017/03/01 12:42:08, Olivier Robin wrote: ...
3 years, 9 months ago (2017-03-01 12:55:49 UTC) #6
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/2720423003/20001
3 years, 9 months ago (2017-03-01 12:56:10 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xcode-clang/builds/51546)
3 years, 9 months ago (2017-03-01 13:04:01 UTC) #11
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/2720423003/30001
3 years, 9 months ago (2017-03-01 13:35:49 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 13:48:18 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:30001) as
https://chromium.googlesource.com/chromium/src/+/a260bac5596e34409d6e7842b98e...

Powered by Google App Engine
This is Rietveld 408576698