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

Issue 442002: Share code between Mac and Linux in ResourceBundle. (Closed)

Created:
11 years ago by hayato
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai, tony, TVL
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Share code between Mac and Linux in ResourceBundle. BUG=25891 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=33668

Patch Set 1 #

Total comments: 6

Patch Set 2 : Refactoring #

Patch Set 3 : add static keyword #

Patch Set 4 : fix linux build #

Total comments: 22

Patch Set 5 : Sync #

Patch Set 6 : Fix style issue #

Total comments: 4

Patch Set 7 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -162 lines) Patch
M app/app.gyp View 1 chunk +2 lines, -1 line 0 comments Download
M app/resource_bundle.h View 2 3 2 chunks +12 lines, -1 line 0 comments Download
M app/resource_bundle_linux.cc View 1 2 3 4 5 6 1 chunk +17 lines, -78 lines 0 comments Download
M app/resource_bundle_mac.mm View 1 2 3 4 5 6 1 chunk +11 lines, -82 lines 0 comments Download
A app/resource_bundle_posix.cc View 1 2 3 4 5 6 1 chunk +98 lines, -0 lines 0 comments Download
M app/resource_bundle_win.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
hayato
11 years ago (2009-11-25 13:55:44 UTC) #1
TVL
lgtm +tony for the linux side of things. http://codereview.chromium.org/442002/diff/1/3 File app/resource_bundle_linux.cc (right): http://codereview.chromium.org/442002/diff/1/3#newcode62 app/resource_bundle_linux.cc:62: for ...
11 years ago (2009-11-25 14:09:10 UTC) #2
Mark Mentovai
I would like to see LoadResources and the destructor shared. Because the two are not ...
11 years ago (2009-11-25 15:11:29 UTC) #3
hayato
Thank you for the review. I shared dtor and LoadResources as you suggested. As for ...
11 years ago (2009-11-27 05:53:47 UTC) #4
Mark Mentovai
I think we'll be all set if you make these changes. This is some nice ...
11 years ago (2009-11-27 17:07:22 UTC) #5
TVL
http://codereview.chromium.org/442002/diff/6001/6003 File app/resource_bundle.h (right): http://codereview.chromium.org/442002/diff/6001/6003#newcode166 app/resource_bundle.h:166: #if defined(USE_X11) shouldn't this is defined(OS_LINUX) http://codereview.chromium.org/442002/diff/6001/6006 File app/resource_bundle_posix.cc ...
11 years ago (2009-11-28 01:22:20 UTC) #6
hayato
On 2009/11/27 17:07:22, Mark Mentovai wrote: > I think we'll be all set if you ...
11 years ago (2009-11-30 10:46:07 UTC) #7
Mark Mentovai
LGTM http://codereview.chromium.org/442002/diff/13001/13006 File app/resource_bundle_posix.cc (right): http://codereview.chromium.org/442002/diff/13001/13006#newcode83 app/resource_bundle_posix.cc:83: #if defined(OS_MACOSX) This, without the #ifdef, should be ...
11 years ago (2009-11-30 14:08:34 UTC) #8
hayato
Thank you fro the review. http://codereview.chromium.org/442002/diff/13001/13006 File app/resource_bundle_posix.cc (right): http://codereview.chromium.org/442002/diff/13001/13006#newcode83 app/resource_bundle_posix.cc:83: #if defined(OS_MACOSX) On 2009/11/30 ...
11 years ago (2009-12-01 06:03:41 UTC) #9
hayato
11 years ago (2009-12-02 02:39:04 UTC) #10
I'll land this change soon because this is LGTMed.
If you have any concerns, please let me know.

Thank you for the review again.

Powered by Google App Engine
This is Rietveld 408576698