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

Issue 2365523004: Component updater: report the Windows OS and Service Pack separately. (Closed)

Created:
4 years, 3 months ago by Sorin Jianu
Modified:
4 years, 2 months ago
Reviewers:
waffles, scottmg
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Component updater: report the Windows OS and Service Pack separately. The current implementation of base::SysInfo().OperatingSystemVersion() for Windows joins the version of the OS with some representation of the Service Pack. That created a server configuration issue in the past where a rule had been written assuming a dotted version string for the OS. Since then, the authors of configuration files have learned to write rules that consider the possibility that OS versions may not be dotted strings. Traditionally, Omaha expected the OS version and Service Pack as serparate entities in the Omaha protocol. Other platforms but Windows and Linux use dotted version strings currently. They have no Service Packs. The Linux does not provide an implementation for base::SysInfo::OperatingSystemVersionNumbers(). Linux versions could include relevant information that does not fit the typical dotted string version. In conclusion, this change is a minor improvement for the Windows OS metadata and leaves the rest, including Linux, the same as before. BUG=642476 Committed: https://crrev.com/435a1b4f0d12145d7f34c7645bb4e8bfb946f484 Cr-Commit-Position: refs/heads/master@{#421296}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -4 lines) Patch
M base/win/windows_version.h View 2 chunks +6 lines, -0 lines 0 comments Download
M base/win/windows_version.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/update_client/utils.cc View 2 chunks +29 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Sorin Jianu
4 years, 3 months ago (2016-09-23 20:54:33 UTC) #3
waffles
lgtm
4 years, 2 months ago (2016-09-26 19:55:51 UTC) #7
Sorin Jianu
scottmg@ please, I need an owner's review for the paths under base/win.
4 years, 2 months ago (2016-09-27 16:54:55 UTC) #9
scottmg
base/win l-g-t-m, but as far as the usage, did you consider using a build number ...
4 years, 2 months ago (2016-09-27 17:50:45 UTC) #10
Sorin Jianu
On 2016/09/27 17:50:45, scottmg wrote: > base/win l-g-t-m, but as far as the usage, did ...
4 years, 2 months ago (2016-09-27 17:56:54 UTC) #11
scottmg
ok, lgtm then.
4 years, 2 months ago (2016-09-27 18:20:34 UTC) #12
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/2365523004/1
4 years, 2 months ago (2016-09-27 18:21:32 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-09-27 19:34:24 UTC) #15
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 19:36:02 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/435a1b4f0d12145d7f34c7645bb4e8bfb946f484
Cr-Commit-Position: refs/heads/master@{#421296}

Powered by Google App Engine
This is Rietveld 408576698