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

Unified Diff: components/storage_monitor/storage_info.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (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/storage_monitor/storage_info.h
diff --git a/components/storage_monitor/storage_info.h b/components/storage_monitor/storage_info.h
index caebe1cd5ec98d73951c1b996b76f53fd51e47fc..d10e445ba38695ea12ac3bdf8dbd64ba6db47a1d 100644
--- a/components/storage_monitor/storage_info.h
+++ b/components/storage_monitor/storage_info.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_STORAGE_MONITOR_STORAGE_INFO_H_
#define COMPONENTS_STORAGE_MONITOR_STORAGE_INFO_H_
+#include <stdint.h>
+
#include "base/files/file_path.h"
#include "base/strings/string16.h"
@@ -38,7 +40,7 @@ class StorageInfo {
const base::string16& label,
const base::string16& vendor,
const base::string16& model,
- uint64 size_in_bytes);
+ uint64_t size_in_bytes);
~StorageInfo();
// Returns a device id given properties of the device. A prefix dependent on
@@ -84,7 +86,7 @@ class StorageInfo {
const base::string16& storage_label() const { return storage_label_; }
const base::string16& vendor_name() const { return vendor_name_; }
const base::string16& model_name() const { return model_name_; }
- uint64 total_size_in_bytes() const { return total_size_in_bytes_; }
+ uint64_t total_size_in_bytes() const { return total_size_in_bytes_; }
void set_device_id(const std::string& device_id) { device_id_ = device_id; }
void set_location(const base::FilePath::StringType& location) {
@@ -115,7 +117,7 @@ class StorageInfo {
// Size of the removable device in bytes.
// Zero if not collected or unknown.
- uint64 total_size_in_bytes_;
+ uint64_t total_size_in_bytes_;
};
} // namespace storage_monitor
« no previous file with comments | « components/storage_monitor/removable_device_constants.cc ('k') | components/storage_monitor/storage_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698