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

Issue 2693043003: Revert of Use IOSImageDataFetcherWrapper for favicon (Closed)

Created:
3 years, 10 months ago by msramek
Modified:
3 years, 10 months ago
CC:
chromium-reviews, pkl (ping after 24h if needed), droger+watchlist_chromium.org, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, Eugene But (OOO till 7-30), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Use IOSImageDataFetcherWrapper for favicon (patchset #9 id:160001 of https://codereview.chromium.org/2677993002/ ) Reason for revert: A compilation error shown on several iOS bots, e.g. here: https://build.chromium.org/p/chromium.mac/builders/ios-simulator-xcode-clang/builds/11111/steps/compile/logs/stdio The following lines: ===================================================================================================================== ../../components/favicon/ios/web_favicon_driver.mm:134:7: error: no matching constructor for initialization of 'image_fetcher::IOSImageDataFetcherWrapper' image_fetcher_(web_state->GetBrowserState()->GetRequestContext(), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h:37:3: note: candidate constructor not viable: cannot convert argument of incomplete type 'base::SequencedWorkerPool *' to 'const scoped_refptr<base::TaskRunner>' IOSImageDataFetcherWrapper( ^ ../../components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h:70:28: note: candidate constructor not viable: requires 1 argument, but 2 were provided DISALLOW_COPY_AND_ASSIGN(IOSImageDataFetcherWrapper); ===================================================================================================================== seem to point to this CL. Although the buildbot failure email pointed to another CL (https://codereview.chromium.org/2690533002/), I think that one is a red herring, and I'll proceed to revert this one. Original issue's description: > Use IOSImageDataFetcherWrapper for favicon > > Use IOSImageDataFetcher instead of ImageDataFetcher for downloading the favicon > on iOS. This allows the download to be done in the favicon driver instead of the > WebState. > The favicon needs the http response code for optimization (if the favicon does > not exist we try to download it only once). > > BUG=683918 > > Review-Url: https://codereview.chromium.org/2677993002 > Cr-Commit-Position: refs/heads/master@{#450317} > Committed: https://chromium.googlesource.com/chromium/src/+/911c2949fcb7a8362449e8af1d60bbb93d3cfab5 TBR=treib@chromium.org,markusheintz@chromium.org,sdefresne@chromium.org,rohitrao@chromium.org,eugenebut@chromium.org,reed@google.com,bsalomon@google.com,gambard@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=683918 Review-Url: https://codereview.chromium.org/2693043003 Cr-Commit-Position: refs/heads/master@{#450323} Committed: https://chromium.googlesource.com/chromium/src/+/8412e37d0409d43e915a23b87f5cda464bae507a

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -88 lines) Patch
M components/favicon/ios/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M components/favicon/ios/DEPS View 1 chunk +0 lines, -6 lines 0 comments Download
M components/favicon/ios/web_favicon_driver.h View 2 chunks +0 lines, -4 lines 0 comments Download
M components/favicon/ios/web_favicon_driver.mm View 3 chunks +6 lines, -41 lines 0 comments Download
M components/image_fetcher/image_data_fetcher.h View 2 chunks +0 lines, -9 lines 0 comments Download
M components/image_fetcher/image_data_fetcher.cc View 1 chunk +1 line, -3 lines 0 comments Download
M components/image_fetcher/image_data_fetcher_unittest.cc View 5 chunks +0 lines, -5 lines 0 comments Download
M components/image_fetcher/ios/ios_image_data_fetcher_wrapper.h View 1 chunk +1 line, -3 lines 0 comments Download
M components/image_fetcher/request_metadata.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/image_fetcher/request_metadata.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/image_fetcher/request_metadata_unittest.cc View 2 chunks +1 line, -11 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state.mm View 1 chunk +8 lines, -0 lines 0 comments Download
M ios/web/public/web_state/web_state.h View 3 chunks +31 lines, -0 lines 0 comments Download
A ios/web/web_state/DEPS View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.h View 3 chunks +9 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 4 chunks +43 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
msramek
Created Revert of Use IOSImageDataFetcherWrapper for favicon
3 years, 10 months ago (2017-02-14 11:42:31 UTC) #2
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/2693043003/1
3 years, 10 months ago (2017-02-14 11:42:55 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/8412e37d0409d43e915a23b87f5cda464bae507a
3 years, 10 months ago (2017-02-14 11:44:29 UTC) #6
Olivier
3 years, 10 months ago (2017-02-14 11:49:41 UTC) #7
Message was sent while issue was closed.
On 2017/02/14 11:44:29, commit-bot: I haz the power wrote:
> Committed patchset #1 (id:1) as
>
https://chromium.googlesource.com/chromium/src/+/8412e37d0409d43e915a23b87f5c...

Compilation error happened because of conflict between
https://codereview.chromium.org/2677993002 and
https://codereview.chromium.org/2690533002 (one adding the header removed by the
other)
Both CLs have been reverted.

Powered by Google App Engine
This is Rietveld 408576698