| Index: components/update_client/utils.cc
|
| diff --git a/components/update_client/utils.cc b/components/update_client/utils.cc
|
| index ea5a39d39564f586ae8a0e913d618966a1485ff3..4e56c5706da3e8f11680cc67b2b4dd646635b63b 100644
|
| --- a/components/update_client/utils.cc
|
| +++ b/components/update_client/utils.cc
|
| @@ -32,6 +32,7 @@
|
| #include "components/update_client/update_client_errors.h"
|
| #include "components/update_client/update_query_params.h"
|
| #include "components/update_client/updater_state.h"
|
| +#include "components/update_client/utils_win.h"
|
| #include "crypto/secure_hash.h"
|
| #include "crypto/sha2.h"
|
| #include "net/base/load_flags.h"
|
| @@ -72,11 +73,7 @@ std::string HexStringToID(const std::string& hexstr) {
|
|
|
| std::string GetOSVersion() {
|
| #if defined(OS_WIN)
|
| - int32_t major = 0;
|
| - int32_t minor = 0;
|
| - int32_t bugfix = 0;
|
| - base::SysInfo::OperatingSystemVersionNumbers(&major, &minor, &bugfix);
|
| - return base::StringPrintf("%d.%d.%d", major, minor, bugfix);
|
| + return GetWindowsOSVersion();
|
| #else
|
| return base::SysInfo().OperatingSystemVersion();
|
| #endif
|
|
|