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

Unified Diff: chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm

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/mac/mtp_device_delegate_impl_mac.mm
diff --git a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
index 743866b783f43f5285d44aa2b8947e5aa7a1398f..7f3318457ea2ef7e4b1d61dc4462d2d29bc7469f 100644
--- a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
+++ b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
@@ -4,9 +4,12 @@
#include "chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h"
+#include <stddef.h>
+
#include <algorithm>
#include "base/mac/scoped_nsobject.h"
+#include "base/macros.h"
#include "base/threading/sequenced_worker_pool.h"
#include "components/storage_monitor/image_capture_device.h"
#include "components/storage_monitor/image_capture_device_manager.h"
@@ -211,7 +214,7 @@ bool MTPDeviceDelegateImplMac::IsStreaming() {
void MTPDeviceDelegateImplMac::ReadBytes(
const base::FilePath& device_file_path,
const scoped_refptr<net::IOBuffer>& buf,
- int64 offset,
+ int64_t offset,
int buf_len,
const ReadBytesSuccessCallback& success_callback,
const ErrorCallback& error_callback) {

Powered by Google App Engine
This is Rietveld 408576698