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

Issue 2440273002: Clean up the IconLoader. (Closed)

Created:
4 years, 2 months ago by Avi (use Gerrit)
Modified:
4 years ago
Reviewers:
sky
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up the IconLoader. The text was weirdly vague, trying to be cross-platform but not succeeding, there were odd conditions that could cause leaks, and there was about twice the complexity built in than it actually ended up using. BUG=555865 Committed: https://crrev.com/381f719fd68a0b32d41ad0605528aab75d4e9380 Cr-Commit-Position: refs/heads/master@{#438961}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rev #

Total comments: 6

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -174 lines) Patch
M chrome/browser/icon_loader.h View 1 5 chunks +16 lines, -26 lines 0 comments Download
M chrome/browser/icon_loader.cc View 1 2 2 chunks +5 lines, -12 lines 0 comments Download
M chrome/browser/icon_loader_android.cc View 1 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/browser/icon_loader_auralinux.cc View 1 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/browser/icon_loader_chromeos.cc View 1 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/browser/icon_loader_mac.mm View 1 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/browser/icon_loader_win.cc View 1 1 chunk +8 lines, -11 lines 0 comments Download
M chrome/browser/icon_manager.h View 1 5 chunks +18 lines, -25 lines 0 comments Download
M chrome/browser/icon_manager.cc View 1 3 chunks +30 lines, -69 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (14 generated)
Avi (use Gerrit)
4 years, 2 months ago (2016-10-22 21:59:38 UTC) #6
sky
https://codereview.chromium.org/2440273002/diff/1/chrome/browser/icon_loader_auralinux.cc File chrome/browser/icon_loader_auralinux.cc (right): https://codereview.chromium.org/2440273002/diff/1/chrome/browser/icon_loader_auralinux.cc#newcode15 chrome/browser/icon_loader_auralinux.cc:15: return base::nix::GetFileMimeType(filepath); I believe this may trigger io: std::string ...
4 years, 1 month ago (2016-10-24 15:56:25 UTC) #7
Avi (use Gerrit)
https://codereview.chromium.org/2440273002/diff/1/chrome/browser/icon_loader_auralinux.cc File chrome/browser/icon_loader_auralinux.cc (right): https://codereview.chromium.org/2440273002/diff/1/chrome/browser/icon_loader_auralinux.cc#newcode15 chrome/browser/icon_loader_auralinux.cc:15: return base::nix::GetFileMimeType(filepath); On 2016/10/24 15:56:25, sky wrote: > I ...
4 years, 1 month ago (2016-10-24 16:02:18 UTC) #8
Avi (use Gerrit)
Scott, please take another look.
4 years ago (2016-12-15 21:47:26 UTC) #11
sky
LGTM - bonus points if you want to fix the following, but I get they ...
4 years ago (2016-12-15 22:36:05 UTC) #14
Avi (use Gerrit)
https://codereview.chromium.org/2440273002/diff/20001/chrome/browser/icon_loader.cc File chrome/browser/icon_loader.cc (right): https://codereview.chromium.org/2440273002/diff/20001/chrome/browser/icon_loader.cc#newcode16 chrome/browser/icon_loader.cc:16: : target_task_runner_(nullptr), On 2016/12/15 22:36:05, sky wrote: > optional: ...
4 years ago (2016-12-15 23:01:10 UTC) #15
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/2440273002/40001
4 years ago (2016-12-15 23:02:45 UTC) #18
sky
Thanks for filing a bug! On Thu, Dec 15, 2016 at 3:01 PM, <avi@chromium.org> wrote: ...
4 years ago (2016-12-15 23:15:15 UTC) #19
Avi (use Gerrit)
On 2016/12/15 23:15:15, sky wrote: > Thanks for filing a bug! > > On Thu, ...
4 years ago (2016-12-15 23:37:31 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-16 00:05:43 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-16 00:07:40 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/381f719fd68a0b32d41ad0605528aab75d4e9380
Cr-Commit-Position: refs/heads/master@{#438961}

Powered by Google App Engine
This is Rietveld 408576698