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

Issue 6897016: Base: Fix FileVersionInfo::CreateFileVersionInfoForCurrentModule so that (Closed)

Created:
9 years, 8 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
brettw, wtc
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Base: Fix FileVersionInfo::CreateFileVersionInfoForCurrentModule so that when base is built as a dll, the module that is inspected for the version info is the one that makes the call instead of base.dll BUG=76996 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82754

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -11 lines) Patch
M base/file_version_info.h View 1 2 3 2 chunks +28 lines, -3 lines 0 comments Download
M base/file_version_info_win.h View 2 chunks +5 lines, -5 lines 0 comments Download
M base/file_version_info_win.cc View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
rvargas (doing something else)
9 years, 8 months ago (2011-04-22 03:43:13 UTC) #1
wtc
LGTM. http://codereview.chromium.org/6897016/diff/1/base/file_version_info.h File base/file_version_info.h (right): http://codereview.chromium.org/6897016/diff/1/base/file_version_info.h#newcode14 base/file_version_info.h:14: #endif // OS_WIN Nit: the current Chromium Coding ...
9 years, 8 months ago (2011-04-22 20:00:09 UTC) #2
rvargas (doing something else)
Brett, it looks like base now has set no parent :(
9 years, 8 months ago (2011-04-22 21:28:20 UTC) #3
rvargas (doing something else)
http://codereview.chromium.org/6897016/diff/1/base/file_version_info.h File base/file_version_info.h (right): http://codereview.chromium.org/6897016/diff/1/base/file_version_info.h#newcode14 base/file_version_info.h:14: #endif // OS_WIN On 2011/04/22 20:00:09, wtc wrote: > ...
9 years, 8 months ago (2011-04-22 21:40:05 UTC) #4
brettw
LGTM http://codereview.chromium.org/6897016/diff/1/base/file_version_info.h File base/file_version_info.h (right): http://codereview.chromium.org/6897016/diff/1/base/file_version_info.h#newcode55 base/file_version_info.h:55: } On 2011/04/22 20:00:09, wtc wrote: > If ...
9 years, 8 months ago (2011-04-22 21:43:34 UTC) #5
rvargas (doing something else)
Thanks http://codereview.chromium.org/6897016/diff/1/base/file_version_info.h File base/file_version_info.h (right): http://codereview.chromium.org/6897016/diff/1/base/file_version_info.h#newcode55 base/file_version_info.h:55: } On 2011/04/22 21:43:34, brettw wrote: > On ...
9 years, 8 months ago (2011-04-22 22:06:43 UTC) #6
wtc
LGTM. http://codereview.chromium.org/6897016/diff/1004/base/file_version_info.h File base/file_version_info.h (right): http://codereview.chromium.org/6897016/diff/1004/base/file_version_info.h#newcode56 base/file_version_info.h:56: CreateFileVersionInfoForCurrentModule() { Nit: this line probably doesn't need ...
9 years, 8 months ago (2011-04-22 22:15:03 UTC) #7
rvargas (doing something else)
9 years, 8 months ago (2011-04-22 23:08:23 UTC) #8
Thanks again

http://codereview.chromium.org/6897016/diff/1004/base/file_version_info.h
File base/file_version_info.h (right):

http://codereview.chromium.org/6897016/diff/1004/base/file_version_info.h#new...
base/file_version_info.h:56: CreateFileVersionInfoForCurrentModule() {
On 2011/04/22 22:15:04, wtc wrote:
> Nit: this line probably doesn't need to be indented.

Done.

http://codereview.chromium.org/6897016/diff/1004/base/file_version_info_win.cc
File base/file_version_info_win.cc (right):

http://codereview.chromium.org/6897016/diff/1004/base/file_version_info_win.c...
base/file_version_info_win.cc:41: system_buffer[0] = 0;
On 2011/04/22 22:15:04, wtc wrote:
> Should we just return NULL here, as the original code does?

Sure... the effect was the same because the next call would fail, but this
version is simpler :)

Powered by Google App Engine
This is Rietveld 408576698