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

Issue 1097383005: Add possibility to define data callback to BitmapFetcher (Closed)

Created:
5 years, 8 months ago by wmaslowski
Modified:
5 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@r479598_extensions_content_verifier_directories_fail
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add possibility to define data callback to BitmapFetcher BUG=479715 Committed: https://crrev.com/58c4b6fc734361e9de25959c7f92690e8f5ba372 Cr-Commit-Position: refs/heads/master@{#333962}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed the customization method to just using virtual method to create URLFetcher #

Patch Set 3 : Another approach - split Start to Init and Start #

Total comments: 2

Patch Set 4 : Updated documentation #

Total comments: 2

Patch Set 5 : Added missing space #

Patch Set 6 : Rebased and changed one more usage of BitmapFetcher #

Total comments: 2

Patch Set 7 : Clarified how calling Init/Start twice works + fixed android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -30 lines) Patch
M chrome/browser/banners/app_banner_data_fetcher.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher.h View 1 2 3 4 5 6 1 chunk +14 lines, -7 lines 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher.cc View 1 2 3 4 5 6 2 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher_browsertest.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/webstore_install_helper.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/image_holder.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_avatar_downloader.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/search/suggestions/image_fetcher_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/passwords/account_avatar_fetcher.cc View 1 2 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 50 (14 generated)
wmaslowski
5 years, 8 months ago (2015-04-22 13:32:37 UTC) #2
Theresa
lgtm https://codereview.chromium.org/1097383005/diff/1/chrome/browser/bitmap_fetcher/bitmap_fetcher.h File chrome/browser/bitmap_fetcher/bitmap_fetcher.h (right): https://codereview.chromium.org/1097383005/diff/1/chrome/browser/bitmap_fetcher/bitmap_fetcher.h#newcode45 chrome/browser/bitmap_fetcher/bitmap_fetcher.h:45: // and create data callback for URLFetcher it ...
5 years, 8 months ago (2015-04-22 23:07:06 UTC) #3
Peter Kasting
Any chance you can motivate why you need to be able to set this user ...
5 years, 8 months ago (2015-04-22 23:16:20 UTC) #5
dschuyler
On 2015/04/22 23:16:20, Peter Kasting wrote: > Any chance you can motivate why you need ...
5 years, 8 months ago (2015-04-22 23:44:32 UTC) #6
wmaslowski
I thought about it and it spliting this into Init and Start but TBH I ...
5 years, 8 months ago (2015-04-23 11:12:56 UTC) #7
Theresa
On 2015/04/23 11:12:56, wmaslowski wrote: > I thought about it and it spliting this into ...
5 years, 8 months ago (2015-04-23 22:13:23 UTC) #8
Peter Kasting
On 2015/04/23 22:13:23, twellington wrote: > On 2015/04/23 11:12:56, wmaslowski wrote: > > I thought ...
5 years, 8 months ago (2015-04-23 22:18:59 UTC) #9
wmaslowski
Went with suggestion to split Start into 2 parts
5 years, 8 months ago (2015-04-24 10:41:56 UTC) #10
Peter Kasting
Just some comment requests, then LGTM after that. https://codereview.chromium.org/1097383005/diff/40001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h File chrome/browser/bitmap_fetcher/bitmap_fetcher.h (right): https://codereview.chromium.org/1097383005/diff/40001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h#newcode34 chrome/browser/bitmap_fetcher/bitmap_fetcher.h:34: // ...
5 years, 8 months ago (2015-04-24 23:18:22 UTC) #11
Theresa
lgtm too, thanks
5 years, 8 months ago (2015-04-24 23:23:57 UTC) #12
wmaslowski
5 years, 7 months ago (2015-04-28 07:47:35 UTC) #13
wmaslowski
I updated the docs - can you confirm that it is still lgtm?
5 years, 7 months ago (2015-05-04 13:41:40 UTC) #14
Theresa
one nit, but otherwise still lgtm https://codereview.chromium.org/1097383005/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h File chrome/browser/bitmap_fetcher/bitmap_fetcher.h (right): https://codereview.chromium.org/1097383005/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h#newcode35 chrome/browser/bitmap_fetcher/bitmap_fetcher.h:35: // can be ...
5 years, 7 months ago (2015-05-04 16:57:39 UTC) #15
dschuyler
lgtm https://codereview.chromium.org/1097383005/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h File chrome/browser/bitmap_fetcher/bitmap_fetcher.h (right): https://codereview.chromium.org/1097383005/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher.h#newcode40 chrome/browser/bitmap_fetcher/bitmap_fetcher.h:40: const std::string& referrer, No big deal, but I ...
5 years, 7 months ago (2015-05-05 20:45:51 UTC) #16
wmaslowski
5 years, 7 months ago (2015-05-06 09:40:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097383005/80001
5 years, 7 months ago (2015-05-06 09:40:42 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/61421)
5 years, 7 months ago (2015-05-06 09:47:18 UTC) #22
wmaslowski
Rebased and modified usage in bookmark_app_helper
5 years, 7 months ago (2015-05-14 09:54:26 UTC) #23
wmaslowski
ping - I still need lgtm on last changes
5 years, 7 months ago (2015-05-22 11:57:03 UTC) #24
Peter Kasting
On 2015/05/22 11:57:03, wmaslowski wrote: > ping - I still need lgtm on last changes ...
5 years, 7 months ago (2015-05-22 18:28:02 UTC) #25
wmaslowski
Added missing reviewers
5 years, 7 months ago (2015-05-25 09:37:08 UTC) #27
Mike Lerman
lgtm
5 years, 7 months ago (2015-05-25 10:43:23 UTC) #28
Mathieu
lgtm suggestions
5 years, 7 months ago (2015-05-25 12:54:11 UTC) #29
benwells
On 2015/05/25 12:54:11, Mathieu Perreault wrote: > lgtm suggestions c/b/banners and c/b/extensions lgtm As Peter ...
5 years, 7 months ago (2015-05-25 22:28:25 UTC) #30
gone
lgtm
5 years, 7 months ago (2015-05-26 17:48:12 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097383005/100001
5 years, 6 months ago (2015-06-08 11:29:43 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/69073)
5 years, 6 months ago (2015-06-08 11:37:04 UTC) #36
sky
https://codereview.chromium.org/1097383005/diff/100001/chrome/browser/bitmap_fetcher/bitmap_fetcher.cc File chrome/browser/bitmap_fetcher/bitmap_fetcher.cc (right): https://codereview.chromium.org/1097383005/diff/100001/chrome/browser/bitmap_fetcher/bitmap_fetcher.cc#newcode26 chrome/browser/bitmap_fetcher/bitmap_fetcher.cc:26: if (url_fetcher_ != NULL) In general we DCHECK people ...
5 years, 6 months ago (2015-06-08 15:05:29 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097383005/120001
5 years, 6 months ago (2015-06-09 16:46:59 UTC) #40
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-09 17:34:51 UTC) #42
wmaslowski
@sky - I addressed Your concerns by adding one more NULL check, but I'd rather ...
5 years, 6 months ago (2015-06-10 08:18:24 UTC) #44
Kibeom Kim (inactive)
chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc lgtm
5 years, 6 months ago (2015-06-10 15:01:32 UTC) #45
sky
LGTM
5 years, 6 months ago (2015-06-10 15:57:05 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097383005/120001
5 years, 6 months ago (2015-06-11 15:02:19 UTC) #48
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 6 months ago (2015-06-11 16:04:34 UTC) #49
commit-bot: I haz the power
5 years, 6 months ago (2015-06-11 16:05:21 UTC) #50
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/58c4b6fc734361e9de25959c7f92690e8f5ba372
Cr-Commit-Position: refs/heads/master@{#333962}

Powered by Google App Engine
This is Rietveld 408576698