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

Unified Diff: chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.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/fileapi/mtp_device_async_delegate.h
diff --git a/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h b/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h
index 2ebfa939ea0de2359228587512a47af225847fac..68e84826a8fef8433df717c5b8de918c9ec5de87 100644
--- a/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h
+++ b/chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_
#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_
+#include <stdint.h>
+
#include "base/callback.h"
#include "base/files/file.h"
#include "base/memory/ref_counted.h"
@@ -54,15 +56,17 @@ class MTPDeviceAsyncDelegate {
int bytes_read)> ReadBytesSuccessCallback;
struct ReadBytesRequest {
- ReadBytesRequest(uint32 file_id,
- net::IOBuffer* buf, int64 offset, int buf_len,
+ ReadBytesRequest(uint32_t file_id,
+ net::IOBuffer* buf,
+ int64_t offset,
+ int buf_len,
const ReadBytesSuccessCallback& success_callback,
const ErrorCallback& error_callback);
~ReadBytesRequest();
- uint32 file_id;
+ uint32_t file_id;
scoped_refptr<net::IOBuffer> buf;
- int64 offset;
+ int64_t offset;
int buf_len;
ReadBytesSuccessCallback success_callback;
ErrorCallback error_callback;
@@ -133,7 +137,7 @@ class MTPDeviceAsyncDelegate {
// IsStreaming() is true.
virtual void 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) = 0;

Powered by Google App Engine
This is Rietveld 408576698