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

Issue 10957008: Normalize extension action icon paths before adding them to icon set (Closed)

Created:
8 years, 3 months ago by tbarzic
Modified:
8 years, 3 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Normalize extension action icon paths before adding them to icon set TEST=manual (extension with page action default icon with absolute path is loaded on debug build). BUG=157368 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157845

Patch Set 1 #

Patch Set 2 : Actually, if we want to keep the old logic for ext icons, it should go like this: #

Patch Set 3 : d #

Patch Set 4 : . #

Total comments: 4

Patch Set 5 : .. #

Patch Set 6 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -8 lines) Patch
M chrome/common/extensions/extension.cc View 1 2 3 4 5 5 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tbarzic
this dcheck is not particularly important for page actions case, since we don't use GetIconSizeFromPath ...
8 years, 3 months ago (2012-09-20 00:24:42 UTC) #1
not at google - send to devlin
> The alternative to this fix would be to ensure that the path is relative ...
8 years, 3 months ago (2012-09-20 03:26:20 UTC) #2
tbarzic
On 2012/09/20 03:26:20, kalman wrote: > > The alternative to this fix would be to ...
8 years, 3 months ago (2012-09-20 04:58:46 UTC) #3
not at google - send to devlin
http://codereview.chromium.org/10957008/diff/4003/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/10957008/diff/4003/chrome/common/extensions/extension.cc#newcode159 chrome/common/extensions/extension.cc:159: if (icon_path[0] == '/') should be "while" not "if"? ...
8 years, 3 months ago (2012-09-20 06:00:55 UTC) #4
tbarzic
http://codereview.chromium.org/10957008/diff/4003/chrome/common/extensions/extension.cc File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/10957008/diff/4003/chrome/common/extensions/extension.cc#newcode159 chrome/common/extensions/extension.cc:159: if (icon_path[0] == '/') On 2012/09/20 06:00:55, kalman wrote: ...
8 years, 3 months ago (2012-09-20 06:45:06 UTC) #5
not at google - send to devlin
lgtm
8 years, 3 months ago (2012-09-20 07:06:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/10957008/7002
8 years, 3 months ago (2012-09-20 18:44:39 UTC) #7
commit-bot: I haz the power
8 years, 3 months ago (2012-09-20 21:32:38 UTC) #8
Change committed as 157845

Powered by Google App Engine
This is Rietveld 408576698