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

Issue 1433013004: Replace ScopedVector with vector<scoped_ptr> in BitmapFetcherService. (Closed)

Created:
5 years, 1 month ago by danakj
Modified:
5 years, 1 month ago
Reviewers:
Nico, Pete Williamson
CC:
chromium-reviews, piman, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace ScopedVector with vector<scoped_ptr> in BitmapFetcherService. R=petewil@chromium.org, thakis@chromium.org BUG=554289 Committed: https://crrev.com/dde4d8c4b2aa0906b4c92922f827ce5d3e234bf1 Cr-Commit-Position: refs/heads/master@{#359019}

Patch Set 1 : scopedvector-bitmapfetcher: unittest-too #

Total comments: 3

Patch Set 2 : scopedvector-bitmapfetcher: no-find-fix-unittest #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -26 lines) Patch
M chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc View 1 2 chunks +18 lines, -19 lines 2 comments Download
M chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
danakj
A test for the bots to make sure this works before we announce.
5 years, 1 month ago (2015-11-11 01:12:27 UTC) #3
danakj
And I missed the unittest file in the first upload. Fixed.
5 years, 1 month ago (2015-11-11 01:13:10 UTC) #4
Nico
lgtm, thanks!
5 years, 1 month ago (2015-11-11 01:18:07 UTC) #6
Pete Williamson
lgtm
5 years, 1 month ago (2015-11-11 01:25:42 UTC) #7
Nico
https://codereview.chromium.org/1433013004/diff/20001/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc File chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc (right): https://codereview.chromium.org/1433013004/diff/20001/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc#newcode70 chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc:70: return service_->active_fetchers_; oh i guess this needs changing too?
5 years, 1 month ago (2015-11-11 01:28:23 UTC) #8
danakj
https://codereview.chromium.org/1433013004/diff/20001/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc File chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc (right): https://codereview.chromium.org/1433013004/diff/20001/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc#newcode157 chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc:157: std::find(active_fetchers_.begin(), active_fetchers_.end(), fetcher); find() won't work with unique_ptr cuz ...
5 years, 1 month ago (2015-11-11 01:29:08 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1433013004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1433013004/60001
5 years, 1 month ago (2015-11-11 01:35:28 UTC) #12
Nico
still lgtm, but: https://codereview.chromium.org/1433013004/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc File chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc (right): https://codereview.chromium.org/1433013004/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc#newcode156 chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc:156: auto it = active_fetchers_.begin(); auto here ...
5 years, 1 month ago (2015-11-11 01:35:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1433013004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1433013004/60001
5 years, 1 month ago (2015-11-11 01:43:18 UTC) #17
danakj
https://codereview.chromium.org/1433013004/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc File chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc (right): https://codereview.chromium.org/1433013004/diff/60001/chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc#newcode156 chrome/browser/bitmap_fetcher/bitmap_fetcher_service.cc:156: auto it = active_fetchers_.begin(); On 2015/11/11 01:35:53, Nico wrote: ...
5 years, 1 month ago (2015-11-11 01:45:57 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years, 1 month ago (2015-11-11 02:22:22 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-11-11 02:23:19 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dde4d8c4b2aa0906b4c92922f827ce5d3e234bf1
Cr-Commit-Position: refs/heads/master@{#359019}

Powered by Google App Engine
This is Rietveld 408576698