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

Issue 5815001: Fixed file_version_info so that it finds Mac values correctly. (Closed)

Created:
10 years ago by dmac
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, Raghu Simha, Erik does not do reviews, idana, cbentzel+watch_chromium.org, Aaron Boodman, Paweł Hajdan Jr., pam+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, tim (not reviewing), amit
Visibility:
Public.

Description

file_version_info was not finding Mac values correctly. Got it now looking in the appropriate bundle. BUG=NONE TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69728

Patch Set 1 #

Patch Set 2 : Changed logging to vlog #

Total comments: 2

Patch Set 3 : Changed to use override bundle #

Patch Set 4 : added a file #

Total comments: 9

Patch Set 5 : fix up mento's nits #

Patch Set 6 : fix up warnings from git cl upload #

Patch Set 7 : Moved over to new CFToNSCast call #

Patch Set 8 : Trying to figure out where extra files came from #

Patch Set 9 : trying to fix bad files #

Patch Set 10 : Get rid of files that git happily added for me #

Patch Set 11 : fix up trybots #

Patch Set 12 : Fix up windows chrome frame build #

Patch Set 13 : Simplified the change due to problems getting the older patch to work with chrome frame. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -54 lines) Patch
M base/file_version_info.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M base/file_version_info_mac.h View 1 2 3 4 3 chunks +6 lines, -9 lines 0 comments Download
M base/file_version_info_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +18 lines, -44 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
dmac
New improved version. I tried to break it up earlier as you saw, but quickly ...
10 years ago (2010-12-13 18:40:43 UTC) #1
dmac
Changed logging over to vlog so it was easier to control the spew.
10 years ago (2010-12-14 17:44:07 UTC) #2
Erik does not do reviews
http://codereview.chromium.org/5815001/diff/3001/base/file_version_info_mac.mm File base/file_version_info_mac.mm (right): http://codereview.chromium.org/5815001/diff/3001/base/file_version_info_mac.mm#newcode21 base/file_version_info_mac.mm:21: if (![bundle bundleIdentifier]) { if mainBundle is bogus, don't ...
10 years ago (2010-12-14 19:16:32 UTC) #3
dmaclach1
I'm not sure how familiar you are with bundling on the Mac, so please bear ...
10 years ago (2010-12-14 21:14:51 UTC) #4
Mark Mentovai
Is the real problem here “my test was failing because it didn’t have a version?” ...
10 years ago (2010-12-14 21:22:33 UTC) #5
dmac
On 2010/12/14 21:22:33, Mark Mentovai wrote: > Is the real problem here > > “my ...
10 years ago (2010-12-15 06:35:27 UTC) #6
dmac
On 2010/12/15 06:35:27, dmac wrote: > On 2010/12/14 21:22:33, Mark Mentovai wrote: > > Is ...
10 years ago (2010-12-15 23:52:45 UTC) #7
Mark Mentovai
OK, I understand. Can we detect at runtime if we're running inside a test executable ...
10 years ago (2010-12-16 00:47:01 UTC) #8
dmac
I think I did even better. Now we are working with the override bundle which ...
10 years ago (2010-12-16 21:50:24 UTC) #9
Mark Mentovai
I only reviewed the Mac bits. They look good, with these comments. http://codereview.chromium.org/5815001/diff/17001/base/file_version_info_mac.h File base/file_version_info_mac.h ...
10 years ago (2010-12-16 22:11:46 UTC) #10
dmac
Thanks Mark. Erik, any other comments? http://codereview.chromium.org/5815001/diff/17001/base/file_version_info_mac.h File base/file_version_info_mac.h (right): http://codereview.chromium.org/5815001/diff/17001/base/file_version_info_mac.h#newcode52 base/file_version_info_mac.h:52: std::wstring GetStringValue(CFStringRef name); ...
10 years ago (2010-12-16 22:20:42 UTC) #11
Mark Mentovai
http://codereview.chromium.org/5815001/diff/17001/base/file_version_info_mac.mm File base/file_version_info_mac.mm (right): http://codereview.chromium.org/5815001/diff/17001/base/file_version_info_mac.mm#newcode106 base/file_version_info_mac.mm:106: const NSString *ns_name = reinterpret_cast<const NSString *>(name); You can ...
10 years ago (2010-12-16 22:39:20 UTC) #12
Mark Mentovai
Fix the change description, since you’re not using compiled-in values.
10 years ago (2010-12-16 22:44:00 UTC) #13
dmac
Mark/Erik Could you take a quick look at this significantly slimmed down patch?
10 years ago (2010-12-20 18:24:18 UTC) #14
Mark Mentovai
LGTM
10 years ago (2010-12-20 18:38:59 UTC) #15
Erik does not do reviews
10 years ago (2010-12-20 18:42:29 UTC) #16
LGTM

Powered by Google App Engine
This is Rietveld 408576698