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

Issue 543753002: [Suggestions] Move ImageManager to the component (Closed)

Created:
6 years, 3 months ago by Mathieu
Modified:
6 years, 3 months ago
Reviewers:
huangs, blundell
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered, justincohen
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Suggestions] Move ImageManager to the component Keeps the fetcher functionality as ImageFetcherImpl in chrome/browser/search/suggestions. BUG=387751 TBR=blundell TEST=ImageManagerTest,ImageFetcherBrowserTest Committed: https://crrev.com/5a25f30080dd57d200679546c970d70f2247def9 Cr-Commit-Position: refs/heads/master@{#296503}

Patch Set 1 : without browsertest #

Total comments: 20

Patch Set 2 : cleaned + clang-format #

Patch Set 3 : added browsertest #

Patch Set 4 : pointer fix #

Total comments: 14

Patch Set 5 : fixes #

Patch Set 6 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+758 lines, -901 lines) Patch
A chrome/browser/search/suggestions/image_fetcher_impl.h View 1 1 chunk +84 lines, -0 lines 0 comments Download
A chrome/browser/search/suggestions/image_fetcher_impl.cc View 1 2 3 4 5 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc View 1 2 3 4 5 1 chunk +149 lines, -0 lines 0 comments Download
D chrome/browser/search/suggestions/image_manager_impl.h View 1 chunk +0 lines, -170 lines 0 comments Download
D chrome/browser/search/suggestions/image_manager_impl.cc View 1 chunk +0 lines, -278 lines 0 comments Download
D chrome/browser/search/suggestions/image_manager_impl_browsertest.cc View 1 chunk +0 lines, -277 lines 0 comments Download
D chrome/browser/search/suggestions/image_manager_impl_unittest.cc View 1 chunk +0 lines, -64 lines 0 comments Download
M chrome/browser/search/suggestions/suggestions_service_factory.cc View 1 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/suggestions.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
M components/suggestions/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M components/suggestions/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A components/suggestions/image_fetcher.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A components/suggestions/image_fetcher_delegate.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M components/suggestions/image_manager.h View 1 2 3 4 1 chunk +125 lines, -10 lines 0 comments Download
A + components/suggestions/image_manager.cc View 1 2 3 11 chunks +42 lines, -92 lines 0 comments Download
A components/suggestions/image_manager_unittest.cc View 1 1 chunk +193 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
Mathieu
Hi Sam, Sorry this is a big change. It's meant to be functionality neutral, but ...
6 years, 3 months ago (2014-09-22 21:12:54 UTC) #6
huangs
Is there a counterpart to image_manager_impl_browsertest.cc ?
6 years, 3 months ago (2014-09-22 21:19:51 UTC) #7
Mathieu
On 2014/09/22 21:19:51, huangs1 wrote: > Is there a counterpart to image_manager_impl_browsertest.cc ? As mentioned ...
6 years, 3 months ago (2014-09-22 21:22:44 UTC) #8
huangs
First pass. https://codereview.chromium.org/543753002/diff/80001/chrome/browser/search/suggestions/image_fetcher_impl.h File chrome/browser/search/suggestions/image_fetcher_impl.h (right): https://codereview.chromium.org/543753002/diff/80001/chrome/browser/search/suggestions/image_fetcher_impl.h#newcode40 chrome/browser/search/suggestions/image_fetcher_impl.h:40: virtual void OnFetchComplete(const GURL image_url, const GURL ...
6 years, 3 months ago (2014-09-22 21:51:14 UTC) #9
Mathieu
Will work on browsertest now. https://codereview.chromium.org/543753002/diff/80001/chrome/browser/search/suggestions/image_fetcher_impl.h File chrome/browser/search/suggestions/image_fetcher_impl.h (right): https://codereview.chromium.org/543753002/diff/80001/chrome/browser/search/suggestions/image_fetcher_impl.h#newcode40 chrome/browser/search/suggestions/image_fetcher_impl.h:40: virtual void OnFetchComplete(const GURL ...
6 years, 3 months ago (2014-09-23 14:59:07 UTC) #10
Mathieu
Now with more browsertest! Please take a look.
6 years, 3 months ago (2014-09-23 17:03:32 UTC) #12
huangs
LGTM with nits. https://codereview.chromium.org/543753002/diff/160001/chrome/browser/search/suggestions/image_fetcher_impl.cc File chrome/browser/search/suggestions/image_fetcher_impl.cc (right): https://codereview.chromium.org/543753002/diff/160001/chrome/browser/search/suggestions/image_fetcher_impl.cc#newcode6 chrome/browser/search/suggestions/image_fetcher_impl.cc:6: #include <string> https://codereview.chromium.org/543753002/diff/160001/chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc File chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc (right): ...
6 years, 3 months ago (2014-09-24 15:46:58 UTC) #13
Mathieu
Thanks, submitting... https://codereview.chromium.org/543753002/diff/160001/chrome/browser/search/suggestions/image_fetcher_impl.cc File chrome/browser/search/suggestions/image_fetcher_impl.cc (right): https://codereview.chromium.org/543753002/diff/160001/chrome/browser/search/suggestions/image_fetcher_impl.cc#newcode6 chrome/browser/search/suggestions/image_fetcher_impl.cc:6: On 2014/09/24 15:46:57, huangs1 wrote: > #include ...
6 years, 3 months ago (2014-09-24 19:31:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/543753002/220001
6 years, 3 months ago (2014-09-24 19:32:30 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:220001) as 7a814504a984216577ba7829fa597ffdf9aa5689
6 years, 3 months ago (2014-09-24 20:19:45 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/5a25f30080dd57d200679546c970d70f2247def9 Cr-Commit-Position: refs/heads/master@{#296503}
6 years, 3 months ago (2014-09-24 20:20:40 UTC) #20
Lei Zhang
A revert of this CL (patchset #6 id:220001) has been created in https://codereview.chromium.org/600203002/ by thestig@chromium.org. ...
6 years, 3 months ago (2014-09-24 23:00:35 UTC) #21
Lei Zhang
6 years, 3 months ago (2014-09-24 23:03:41 UTC) #22
Message was sent while issue was closed.
BTW, you should tell blundell@ what you are TBRing.

Powered by Google App Engine
This is Rietveld 408576698