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

Unified Diff: components/policy/core/browser/browser_policy_connector_ios.mm

Issue 1543423002: Switch to standard integer types in components/policy/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/core/browser/browser_policy_connector_ios.mm
diff --git a/components/policy/core/browser/browser_policy_connector_ios.mm b/components/policy/core/browser/browser_policy_connector_ios.mm
index ce405719d021d33c81cecbbe7cf935ada2963449..e20728dec407dc9059051777c2c941a371eae34e 100644
--- a/components/policy/core/browser/browser_policy_connector_ios.mm
+++ b/components/policy/core/browser/browser_policy_connector_ios.mm
@@ -4,6 +4,9 @@
#include "components/policy/core/browser/browser_policy_connector_ios.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/sequenced_task_runner.h"
#include "base/strings/stringprintf.h"
#include "base/sys_info.h"
@@ -34,9 +37,9 @@ class DeviceManagementServiceConfiguration
std::string os_name = base::SysInfo::OperatingSystemName();
std::string os_hardware = base::SysInfo::OperatingSystemArchitecture();
std::string os_version("-");
- 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);
@@ -80,7 +83,7 @@ void BrowserPolicyConnectorIOS::Init(
new DeviceManagementService(configuration.Pass()));
// Delay initialization of the cloud policy requests by 5 seconds.
- const int64 kServiceInitializationStartupDelay = 5000;
+ const int64_t kServiceInitializationStartupDelay = 5000;
device_management_service->ScheduleInitialization(
kServiceInitializationStartupDelay);

Powered by Google App Engine
This is Rietveld 408576698