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

Issue 2674653003: Use IOSImageDataFetcherWrapper in BrowserViewController (Closed)

Created:
3 years, 10 months ago by gambard
Modified:
3 years, 10 months ago
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

Use IOSImageDataFetcherWrapper in BrowserViewController This CL changes the use of ImageDataFetcher in BrowserViewController. This needs the ImageDataFetcher to be able to have the referrer set. BUG=683918 Review-Url: https://codereview.chromium.org/2674653003 Cr-Commit-Position: refs/heads/master@{#448006} Committed: https://chromium.googlesource.com/chromium/src/+/bdc07cc748ecfcd39f57c5759d7cfb3aac0817df

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 11

Patch Set 3 : Change IOSImageDataFetcherWrapper wrapping #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -50 lines) Patch
M components/image_fetcher/image_data_fetcher.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M components/image_fetcher/image_data_fetcher.cc View 1 2 1 chunk +16 lines, -4 lines 0 comments Download
M components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h View 1 2 1 chunk +17 lines, -5 lines 0 comments Download
M components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm View 1 2 2 chunks +36 lines, -20 lines 0 comments Download
M ios/chrome/browser/ui/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/browser_view_controller.mm View 7 chunks +17 lines, -20 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
gambard
PTAL. WDYT of the addition to the API of ImageDataFetcher?
3 years, 10 months ago (2017-02-02 14:49:31 UTC) #2
Marc Treib
This API extension looks fine to me. Some comments below. https://codereview.chromium.org/2674653003/diff/1/components/image_fetcher/image_data_fetcher.cc File components/image_fetcher/image_data_fetcher.cc (right): https://codereview.chromium.org/2674653003/diff/1/components/image_fetcher/image_data_fetcher.cc#newcode49 ...
3 years, 10 months ago (2017-02-02 15:19:13 UTC) #3
markusheintz_
+1 to Marc's comments. In general the looks good. What do you plan to use ...
3 years, 10 months ago (2017-02-02 16:20:42 UTC) #4
gambard
Thanks! The referrer is used in the BrowserViewController (which is one of our way-too-big core ...
3 years, 10 months ago (2017-02-03 12:11:34 UTC) #5
gambard
marq@: PTAL for BVC. The main difference between the old ImageFetcher and the new one ...
3 years, 10 months ago (2017-02-03 12:17:11 UTC) #7
Marc Treib
image_fetcher LGTM with nits https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/image_data_fetcher.cc File components/image_fetcher/image_data_fetcher.cc (right): https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/image_data_fetcher.cc#newcode51 components/image_fetcher/image_data_fetcher.cc:51: ImageDataFetcher::FetchImageData( "ImageDataFetcher::" isn't needed. https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/image_data_fetcher.cc#newcode53 ...
3 years, 10 months ago (2017-02-03 14:10:30 UTC) #8
marq (ping after 24h)
ios/chrome/browser/ui LGTM
3 years, 10 months ago (2017-02-03 14:30:45 UTC) #9
gambard
Thanks, PTAL at the change in IOSImageDataFetcherWrapper. https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/image_data_fetcher.cc File components/image_fetcher/image_data_fetcher.cc (right): https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/image_data_fetcher.cc#newcode51 components/image_fetcher/image_data_fetcher.cc:51: ImageDataFetcher::FetchImageData( On ...
3 years, 10 months ago (2017-02-03 14:56:48 UTC) #10
Marc Treib
lgtm https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm File components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm (right): https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm#newcode91 components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm:91: net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE); On 2017/02/03 14:56:47, gambard wrote: > On ...
3 years, 10 months ago (2017-02-03 15:06:46 UTC) #11
gambard
Thanks! https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm File components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm (right): https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm#newcode91 components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm:91: net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE); On 2017/02/03 15:06:45, Marc Treib wrote: > ...
3 years, 10 months ago (2017-02-03 15:11:14 UTC) #12
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/2674653003/40001
3 years, 10 months ago (2017-02-03 15:11:45 UTC) #15
Marc Treib
On 2017/02/03 15:11:14, gambard wrote: > Thanks! > > https://codereview.chromium.org/2674653003/diff/20001/components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm > File components/image_fetcher/ios/ios_image_data_fetcher_wrapper.mm (right): > ...
3 years, 10 months ago (2017-02-03 15:18:37 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 16:43:51 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/bdc07cc748ecfcd39f57c5759d7c...

Powered by Google App Engine
This is Rietveld 408576698