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

Unified Diff: chromeos/dbus/cros_disks_client.h

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 | « chromeos/dbus/cras_audio_client.cc ('k') | chromeos/dbus/cros_disks_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/cros_disks_client.h
diff --git a/chromeos/dbus/cros_disks_client.h b/chromeos/dbus/cros_disks_client.h
index 840b29560996f131e2f56089dbe4b114dbd1531c..f5d01084da448fe47a64fcac764f338e2f7b4bf0 100644
--- a/chromeos/dbus/cros_disks_client.h
+++ b/chromeos/dbus/cros_disks_client.h
@@ -5,11 +5,13 @@
#ifndef CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_
#define CHROMEOS_DBUS_CROS_DISKS_CLIENT_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "base/callback_forward.h"
+#include "base/macros.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/dbus_client.h"
#include "chromeos/dbus/dbus_client_implementation_type.h"
@@ -153,7 +155,7 @@ class CHROMEOS_EXPORT DiskInfo {
DeviceType device_type() const { return device_type_; }
// Total size of the disk in bytes.
- uint64 total_size_in_bytes() const { return total_size_in_bytes_; }
+ uint64_t total_size_in_bytes() const { return total_size_in_bytes_; }
// Is the device read-only.
bool is_read_only() const { return is_read_only_; }
@@ -183,7 +185,7 @@ class CHROMEOS_EXPORT DiskInfo {
std::string product_name_;
std::string drive_model_;
DeviceType device_type_;
- uint64 total_size_in_bytes_;
+ uint64_t total_size_in_bytes_;
bool is_read_only_;
bool is_hidden_;
std::string uuid_;
« no previous file with comments | « chromeos/dbus/cras_audio_client.cc ('k') | chromeos/dbus/cros_disks_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698