diff options
author | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 19:30:35 +0000 |
---|---|---|
committer | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 19:30:35 +0000 |
commit | 8fbab00264861b95a99a8232ba75e0994c46c185 (patch) | |
tree | 3262192c55378e22383f5890eb9e47aeaa7bb762 /base/win_util.h | |
parent | cf9394a2b153cf94ad320d50e380f25c8450bb6f (diff) | |
download | chromium_src-8fbab00264861b95a99a8232ba75e0994c46c185.zip chromium_src-8fbab00264861b95a99a8232ba75e0994c46c185.tar.gz chromium_src-8fbab00264861b95a99a8232ba75e0994c46c185.tar.bz2 |
The About box was needlessly blocking Chrome on Vista SP1 (with UAC disabled) from performing an On-demand update. Google Update has worked around the issue - for SP1 and up that is - so we can relax the restriction a bit.
Review URL: http://codereview.chromium.org/1708
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/win_util.h')
-rw-r--r-- | base/win_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/win_util.h b/base/win_util.h index 54f5e4a..d3728c1 100644 --- a/base/win_util.h +++ b/base/win_util.h @@ -28,6 +28,9 @@ void GetNonClientMetrics(NONCLIENTMETRICS* metrics); // Returns the running version of Windows. WinVersion GetWinVersion(); +// Returns the major and minor version of the service pack installed. +void GetServicePackLevel(int* major, int* minor); + // Adds an ACE in the DACL of the object referenced by handle. The ACE is // granting |access| to the user |known_sid|. // If |known_sid| is WinSelfSid, the sid of the current user will be added to |