summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/device_management_service_configuration.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/policy/device_management_service_configuration.cc')
-rw-r--r--chrome/browser/policy/device_management_service_configuration.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/policy/device_management_service_configuration.cc b/chrome/browser/policy/device_management_service_configuration.cc
index a47805e..1b8200b 100644
--- a/chrome/browser/policy/device_management_service_configuration.cc
+++ b/chrome/browser/policy/device_management_service_configuration.cc
@@ -4,10 +4,12 @@
#include "chrome/browser/policy/device_management_service_configuration.h"
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "base/sys_info.h"
+#include "build/build_config.h"
#include "components/policy/core/browser/browser_policy_connector.h"
#include "components/version_info/version_info.h"
@@ -55,9 +57,9 @@ std::string DeviceManagementServiceConfiguration::GetPlatformParameter() {
std::string os_version("-");
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
- int32 os_major_version = 0;
- int32 os_minor_version = 0;
- int32 os_bugfix_version = 0;
+ int32_t os_major_version = 0;
+ int32_t os_minor_version = 0;
+ int32_t os_bugfix_version = 0;
base::SysInfo::OperatingSystemVersionNumbers(&os_major_version,
&os_minor_version,
&os_bugfix_version);