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

Issue 2074153002: Pass the ImageDecoder to the ImageFetcher at creation time. (Closed)

Created:
4 years, 6 months ago by markusheintz_
Modified:
4 years, 5 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, zine-eng+reviews_google.com, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass the ImageDecoder to the ImageFetcher at creation time and move image_fetcher_impl.* to components/image_fetcher BUG=609127 Committed: https://crrev.com/532bb2389045e77e3a5cd5c08ab55e2e70408637 Cr-Commit-Position: refs/heads/master@{#402829}

Patch Set 1 #

Patch Set 2 : Fix browsertest and add ios_image_decoder_impl #

Patch Set 3 : Sync and merge #

Patch Set 4 : rm ios image decoder from CL #

Patch Set 5 : Move image_fetcher_impl.* to components/image_fetcher #

Total comments: 12

Patch Set 6 : Addressed comments treib@, bauerb@ #

Total comments: 2

Patch Set 7 : Fix browsertest #

Patch Set 8 : Addressed comments round2 treib@ & added missing imports *sigh* #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -233 lines) Patch
M chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc View 1 2 3 4 5 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/search/suggestions/image_fetcher_impl.h View 1 2 3 4 1 chunk +0 lines, -95 lines 0 comments Download
M chrome/browser/search/suggestions/image_fetcher_impl.cc View 1 2 3 4 1 chunk +0 lines, -100 lines 0 comments Download
M chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc View 1 2 3 4 5 6 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/search/suggestions/suggestions_service_factory.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/search/thumbnail_source.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M components/image_fetcher.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/image_fetcher/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A + components/image_fetcher/image_fetcher_impl.h View 1 2 3 4 5 6 7 4 chunks +19 lines, -14 lines 0 comments Download
A + components/image_fetcher/image_fetcher_impl.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -11 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
markusheintz_
rm ios image decoder from CL
4 years, 5 months ago (2016-06-29 13:01:30 UTC) #1
markusheintz_
Move image_fetcher_impl.* to components/image_fetcher
4 years, 5 months ago (2016-06-29 13:38:13 UTC) #2
markusheintz_
Bernhard and Marc would you mind taking a look at this CL. I have not ...
4 years, 5 months ago (2016-06-29 13:46:33 UTC) #6
markusheintz_
Adding the bauerb@chromium.org PTAL thanks
4 years, 5 months ago (2016-06-29 13:47:18 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/2074153002/diff/80001/components/image_fetcher/image_fetcher_impl.h File components/image_fetcher/image_fetcher_impl.h (right): https://codereview.chromium.org/2074153002/diff/80001/components/image_fetcher/image_fetcher_impl.h#newcode37 components/image_fetcher/image_fetcher_impl.h:37: image_fetcher::ImageDecoder* image_decoder, Pass |image_decoder| as a unique_ptr? For ease ...
4 years, 5 months ago (2016-06-29 13:55:58 UTC) #9
Marc Treib
Mostly looks good, just some small comments https://codereview.chromium.org/2074153002/diff/80001/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc File chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc (right): https://codereview.chromium.org/2074153002/diff/80001/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc#newcode121 chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc:121: base::MakeUnique<ImageFetcherImpl>(new suggestions::ImageDecoderImpl(), ...
4 years, 5 months ago (2016-06-29 13:57:33 UTC) #10
markusheintz_
Addressed comments treib@, bauerb@
4 years, 5 months ago (2016-06-29 14:36:27 UTC) #11
markusheintz_
https://codereview.chromium.org/2074153002/diff/80001/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc File chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc (right): https://codereview.chromium.org/2074153002/diff/80001/chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc#newcode121 chrome/browser/ntp_snippets/ntp_snippets_service_factory.cc:121: base::MakeUnique<ImageFetcherImpl>(new suggestions::ImageDecoderImpl(), On 2016/06/29 13:57:33, Marc Treib wrote: > ...
4 years, 5 months ago (2016-06-29 14:36:46 UTC) #12
Marc Treib
lgtm https://codereview.chromium.org/2074153002/diff/100001/components/image_fetcher/image_fetcher_impl.cc File components/image_fetcher/image_fetcher_impl.cc (right): https://codereview.chromium.org/2074153002/diff/100001/components/image_fetcher/image_fetcher_impl.cc#newcode21 components/image_fetcher/image_fetcher_impl.cc:21: new image_fetcher::ImageDataFetcher(url_request_context_.get())) { nit: "image_fetcher::" isn't required anymore ...
4 years, 5 months ago (2016-06-29 14:41:33 UTC) #13
markusheintz_
Addressed comments treib@, bauerb@ & fix browsertest
4 years, 5 months ago (2016-06-29 14:44:30 UTC) #14
markusheintz_
Addressed comments round2 treib@ & added missing imports *sigh*
4 years, 5 months ago (2016-06-29 14:55:02 UTC) #15
markusheintz_
https://codereview.chromium.org/2074153002/diff/100001/components/image_fetcher/image_fetcher_impl.cc File components/image_fetcher/image_fetcher_impl.cc (right): https://codereview.chromium.org/2074153002/diff/100001/components/image_fetcher/image_fetcher_impl.cc#newcode21 components/image_fetcher/image_fetcher_impl.cc:21: new image_fetcher::ImageDataFetcher(url_request_context_.get())) { On 2016/06/29 14:41:33, Marc Treib wrote: ...
4 years, 5 months ago (2016-06-29 14:56:24 UTC) #17
markusheintz_
Added blundell@ as reviewer. Would you mind reviewing: components/image_fetcher.gypi ? Thanks a lot
4 years, 5 months ago (2016-06-29 14:57:02 UTC) #18
blundell
lgtm You can add per-file OWNERS of the gypi that point to the OWNERS of ...
4 years, 5 months ago (2016-06-29 15:08:24 UTC) #19
markusheintz_
On 2016/06/29 15:08:24, blundell wrote: > lgtm > > You can add per-file OWNERS of ...
4 years, 5 months ago (2016-06-29 15:15:58 UTC) #20
blundell
On 2016/06/29 15:15:58, markusheintz_ wrote: > On 2016/06/29 15:08:24, blundell wrote: > > lgtm > ...
4 years, 5 months ago (2016-06-29 15:16:50 UTC) #21
Bernhard Bauer
lgtm
4 years, 5 months ago (2016-06-29 15:46:29 UTC) #27
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/2074153002/140001
4 years, 5 months ago (2016-06-29 15:48:31 UTC) #29
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 5 months ago (2016-06-29 16:10:45 UTC) #31
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 16:10:58 UTC) #32
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 16:14:21 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/532bb2389045e77e3a5cd5c08ab55e2e70408637
Cr-Commit-Position: refs/heads/master@{#402829}

Powered by Google App Engine
This is Rietveld 408576698