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

Issue 805713004: Cleanup image_fetcher::ImageFetcher (Closed)

Created:
6 years ago by sdefresne
Modified:
6 years ago
CC:
cbentzel+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup image_fetcher::ImageFetcher Follow-up CL to address comments on https://codereview.chromium.org/787903003 after the CL landed: - cleanup #includes in image_fetcher.{h,mm} - use const ref to scoped_refptr to avoid inc/dec ref churn - prefer base::ThreadTaskRunnerHandle::Get() to MessageLoopProxy::current() - remove std::string concatenation BUG=None Committed: https://crrev.com/83fcfd3fc6b4fc6fe83e3478e272c3d6daeb13fe Cr-Commit-Position: refs/heads/master@{#308347}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -63 lines) Patch
M ios/chrome/browser/net/image_fetcher.h View 1 3 chunks +22 lines, -15 lines 1 comment Download
M ios/chrome/browser/net/image_fetcher.mm View 1 8 chunks +29 lines, -27 lines 0 comments Download
M ios/chrome/browser/net/image_fetcher_unittest.mm View 7 chunks +15 lines, -20 lines 0 comments Download
M ios/chrome/browser/suggestions/image_fetcher_impl.mm View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
sdefresne
droger: please take a look rsleevi: FYI
6 years ago (2014-12-15 13:12:26 UTC) #2
droger
lgtm https://codereview.chromium.org/805713004/diff/1/ios/chrome/browser/net/image_fetcher.h File ios/chrome/browser/net/image_fetcher.h (left): https://codereview.chromium.org/805713004/diff/1/ios/chrome/browser/net/image_fetcher.h#oldcode13 ios/chrome/browser/net/image_fetcher.h:13: #include "base/memory/weak_ptr.h" weak_ptr is probably still needed for ...
6 years ago (2014-12-15 13:23:25 UTC) #3
sdefresne
Thank you for the review. https://codereview.chromium.org/805713004/diff/1/ios/chrome/browser/net/image_fetcher.h File ios/chrome/browser/net/image_fetcher.h (left): https://codereview.chromium.org/805713004/diff/1/ios/chrome/browser/net/image_fetcher.h#oldcode13 ios/chrome/browser/net/image_fetcher.h:13: #include "base/memory/weak_ptr.h" On 2014/12/15 ...
6 years ago (2014-12-15 13:43:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/805713004/20001
6 years ago (2014-12-15 13:43:55 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-15 14:31:18 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/83fcfd3fc6b4fc6fe83e3478e272c3d6daeb13fe Cr-Commit-Position: refs/heads/master@{#308347}
6 years ago (2014-12-15 14:32:18 UTC) #8
justincohen
https://codereview.chromium.org/805713004/diff/20001/ios/chrome/browser/net/image_fetcher.h File ios/chrome/browser/net/image_fetcher.h (left): https://codereview.chromium.org/805713004/diff/20001/ios/chrome/browser/net/image_fetcher.h#oldcode16 ios/chrome/browser/net/image_fetcher.h:16: #include "net/url_request/url_request_context_getter.h" I see lots of these with this ...
6 years ago (2014-12-17 13:52:39 UTC) #10
sdefresne
On 2014/12/17 at 13:52:39, justincohen wrote: > https://codereview.chromium.org/805713004/diff/20001/ios/chrome/browser/net/image_fetcher.h > File ios/chrome/browser/net/image_fetcher.h (left): > > https://codereview.chromium.org/805713004/diff/20001/ios/chrome/browser/net/image_fetcher.h#oldcode16 ...
6 years ago (2014-12-17 14:06:43 UTC) #11
justincohen
6 years ago (2014-12-17 14:10:41 UTC) #12
Message was sent while issue was closed.
sgtm.  There were 5 cases where it did not already have that include.

Powered by Google App Engine
This is Rietveld 408576698