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

Unified Diff: chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 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: chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h
diff --git a/chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h b/chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h
index f6ea42f0f63b44d38421a51cdc78949c99f44545..785e90da4a6a0437a7109054db3ffb7b5eabb533 100644
--- a/chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h
+++ b/chrome/browser/media_galleries/linux/mtp_device_object_enumerator.h
@@ -5,9 +5,13 @@
#ifndef CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_
#define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_MTP_DEVICE_OBJECT_ENUMERATOR_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <vector>
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/time/time.h"
#include "device/media_transfer_protocol/mtp_file_entry.pb.h"
@@ -19,13 +23,13 @@ class MTPDeviceObjectEnumerator {
~MTPDeviceObjectEnumerator();
base::FilePath Next();
- int64 Size();
+ int64_t Size();
bool IsDirectory();
base::Time LastModifiedTime();
// If the current file entry is valid, returns true and fills in |entry_id|
// with the entry identifier else returns false and |entry_id| is not set.
- bool GetEntryId(uint32* entry_id) const;
+ bool GetEntryId(uint32_t* entry_id) const;
private:
// Returns true if the enumerator has more entries to traverse, false

Powered by Google App Engine
This is Rietveld 408576698