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

Unified Diff: components/storage_monitor/storage_info.cc

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
« no previous file with comments | « components/storage_monitor/storage_info.h ('k') | components/storage_monitor/storage_monitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/storage_info.cc
diff --git a/components/storage_monitor/storage_info.cc b/components/storage_monitor/storage_info.cc
index 19d59b680519896875dc0b53973eccab2fd86430..98bc7ce856b8de8622c81992683da28f22189796 100644
--- a/components/storage_monitor/storage_info.cc
+++ b/components/storage_monitor/storage_info.cc
@@ -4,6 +4,8 @@
#include "components/storage_monitor/storage_info.h"
+#include <stddef.h>
+
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "components/storage_monitor/media_storage_util.h"
@@ -22,7 +24,7 @@ const char kITunesPrefix[] = "itunes:";
const char kPicasaPrefix[] = "picasa:";
const char kIPhotoPrefix[] = "iphoto:";
-base::string16 GetDisplayNameForDevice(uint64 storage_size_in_bytes,
+base::string16 GetDisplayNameForDevice(uint64_t storage_size_in_bytes,
const base::string16& name) {
DCHECK(!name.empty());
return (storage_size_in_bytes == 0) ?
@@ -58,14 +60,13 @@ StorageInfo::StorageInfo(const std::string& device_id_in,
const base::string16& label,
const base::string16& vendor,
const base::string16& model,
- uint64 size_in_bytes)
+ uint64_t size_in_bytes)
: device_id_(device_id_in),
location_(device_location),
storage_label_(label),
vendor_name_(vendor),
model_name_(model),
- total_size_in_bytes_(size_in_bytes) {
-}
+ total_size_in_bytes_(size_in_bytes) {}
StorageInfo::~StorageInfo() {
}
« no previous file with comments | « components/storage_monitor/storage_info.h ('k') | components/storage_monitor/storage_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698