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

Issue 2656443002: Use chrome::kChromeVersion in installer::GetModulePath(). (Closed)

Created:
3 years, 11 months ago by fdoray
Modified:
3 years, 10 months ago
CC:
chromium-reviews, grt+watch_chromium.org, pennymac+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use chrome::kChromeVersion in installer::GetModulePath(). Before this CL, installer::GetModulePath() used the version in the VS_VERSION_INFO resource of the current module to construct the path to another module. Unfortunately, reading that resource sometimes crashed. With this CL, installer::GetModulePath() uses the chrome::kChromeVersion constant instead. This contains the same value as the VS_VERSION_INFO resource. BUG=682987 Review-Url: https://codereview.chromium.org/2656443002 Cr-Commit-Position: refs/heads/master@{#448055} Committed: https://chromium.googlesource.com/chromium/src/+/58feb04ce1dda2ff33edaf1973de3f4fefb5f56e

Patch Set 1 #

Total comments: 4

Patch Set 2 : move to anonymous namespace and test with chrome.exe #

Patch Set 3 : fix build error #

Patch Set 4 : data_deps #

Patch Set 5 : no += #

Patch Set 6 : data #

Total comments: 2

Patch Set 7 : CR grt #29 (update test comment) #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -89 lines) Patch
M chrome/app/main_dll_loader_win.cc View 1 2 3 4 5 4 chunks +32 lines, -2 lines 0 comments Download
A chrome/common/chrome_constants_win_unittest.cc View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/installer/util/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
D chrome/installer/util/module_util_win.h View 1 1 chunk +0 lines, -23 lines 0 comments Download
M chrome/installer/util/module_util_win.cc View 1 1 chunk +0 lines, -62 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (33 generated)
fdoray
PTAL
3 years, 11 months ago (2017-01-23 21:57:56 UTC) #6
grt (UTC plus 2)
Thanks for picking this up! https://codereview.chromium.org/2656443002/diff/1/chrome/common/chrome_constants_win_unittest.cc File chrome/common/chrome_constants_win_unittest.cc (right): https://codereview.chromium.org/2656443002/diff/1/chrome/common/chrome_constants_win_unittest.cc#newcode20 chrome/common/chrome_constants_win_unittest.cc:20: FileVersionInfo::CreateFileVersionInfoForModule(CURRENT_MODULE())); we want a ...
3 years, 11 months ago (2017-01-24 09:37:17 UTC) #7
fdoray
Ptanl https://codereview.chromium.org/2656443002/diff/1/chrome/common/chrome_constants_win_unittest.cc File chrome/common/chrome_constants_win_unittest.cc (right): https://codereview.chromium.org/2656443002/diff/1/chrome/common/chrome_constants_win_unittest.cc#newcode20 chrome/common/chrome_constants_win_unittest.cc:20: FileVersionInfo::CreateFileVersionInfoForModule(CURRENT_MODULE())); On 2017/01/24 09:37:16, grt (UTC plus 1) ...
3 years, 10 months ago (2017-01-31 20:47:17 UTC) #28
grt (UTC plus 2)
lgtm with a nit. thanks! https://codereview.chromium.org/2656443002/diff/100001/chrome/common/chrome_constants_win_unittest.cc File chrome/common/chrome_constants_win_unittest.cc (right): https://codereview.chromium.org/2656443002/diff/100001/chrome/common/chrome_constants_win_unittest.cc#newcode18 chrome/common/chrome_constants_win_unittest.cc:18: // resource of the ...
3 years, 10 months ago (2017-02-01 12:36:32 UTC) #29
fdoray
jochen@chromium.org: Please review changes in chrome/common/chrome_constants_win_unittest.cc
3 years, 10 months ago (2017-02-01 18:28:55 UTC) #31
fdoray
jochen@chromium.org: Please review changes in chrome/common/chrome_constants_win_unittest.cc https://codereview.chromium.org/2656443002/diff/100001/chrome/common/chrome_constants_win_unittest.cc File chrome/common/chrome_constants_win_unittest.cc (right): https://codereview.chromium.org/2656443002/diff/100001/chrome/common/chrome_constants_win_unittest.cc#newcode18 chrome/common/chrome_constants_win_unittest.cc:18: // resource of ...
3 years, 10 months ago (2017-02-01 18:29:17 UTC) #32
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-03 06:23:35 UTC) #33
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/2656443002/120001
3 years, 10 months ago (2017-02-03 13:24:33 UTC) #36
commit-bot: I haz the power
Failed to apply patch for chrome/test/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-03 14:34:13 UTC) #38
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/2656443002/140001
3 years, 10 months ago (2017-02-03 18:02:42 UTC) #41
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 19:45:04 UTC) #44
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/58feb04ce1dda2ff33edaf1973de...

Powered by Google App Engine
This is Rietveld 408576698