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

Unified Diff: base/sys_info_chromeos.cc

Issue 1498003003: Remove kint64max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: INT64_MAX 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
« no previous file with comments | « base/sys_info_android.cc ('k') | base/sys_info_freebsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_chromeos.cc
diff --git a/base/sys_info_chromeos.cc b/base/sys_info_chromeos.cc
index 9915055996dc44061f8815dfc2591c8b9f725a4c..9d33e56cbb9e7fa6196421bbb1dee4d292b71f4f 100644
--- a/base/sys_info_chromeos.cc
+++ b/base/sys_info_chromeos.cc
@@ -4,7 +4,6 @@
#include "base/sys_info.h"
-#include "base/basictypes.h"
#include "base/environment.h"
#include "base/files/file.h"
#include "base/files/file_path.h"
@@ -90,9 +89,9 @@ class ChromeOSVersionInfo {
return true;
}
- void GetVersionNumbers(int32* major_version,
- int32* minor_version,
- int32* bugfix_version) {
+ void GetVersionNumbers(int32_t* major_version,
+ int32_t* minor_version,
+ int32_t* bugfix_version) {
*major_version = major_version_;
*minor_version = minor_version_;
*bugfix_version = bugfix_version_;
@@ -154,9 +153,9 @@ class ChromeOSVersionInfo {
Time lsb_release_time_;
SysInfo::LsbReleaseMap lsb_release_map_;
- int32 major_version_;
- int32 minor_version_;
- int32 bugfix_version_;
+ int32_t major_version_;
+ int32_t minor_version_;
+ int32_t bugfix_version_;
bool is_running_on_chromeos_;
};
@@ -170,9 +169,9 @@ ChromeOSVersionInfo& GetChromeOSVersionInfo() {
} // namespace
// static
-void SysInfo::OperatingSystemVersionNumbers(int32* major_version,
- int32* minor_version,
- int32* bugfix_version) {
+void SysInfo::OperatingSystemVersionNumbers(int32_t* major_version,
+ int32_t* minor_version,
+ int32_t* bugfix_version) {
return GetChromeOSVersionInfo().GetVersionNumbers(
major_version, minor_version, bugfix_version);
}
« no previous file with comments | « base/sys_info_android.cc ('k') | base/sys_info_freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698