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

Unified Diff: chrome/browser/media_galleries/fileapi/device_media_async_file_util.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/device_media_async_file_util.h
diff --git a/chrome/browser/media_galleries/fileapi/device_media_async_file_util.h b/chrome/browser/media_galleries/fileapi/device_media_async_file_util.h
index 5943db32521f5be03de7bdbc367d0d06d411e701..2a960d87f127b92029e4be881f45cd9be54349c4 100644
--- a/chrome/browser/media_galleries/fileapi/device_media_async_file_util.h
+++ b/chrome/browser/media_galleries/fileapi/device_media_async_file_util.h
@@ -5,8 +5,11 @@
#ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_DEVICE_MEDIA_ASYNC_FILE_UTIL_H_
#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_DEVICE_MEDIA_ASYNC_FILE_UTIL_H_
+#include <stdint.h>
+
#include "base/files/file.h"
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -66,7 +69,7 @@ class DeviceMediaAsyncFileUtil : public storage::AsyncFileUtil {
const StatusCallback& callback) override;
void Truncate(scoped_ptr<storage::FileSystemOperationContext> context,
const storage::FileSystemURL& url,
- int64 length,
+ int64_t length,
const StatusCallback& callback) override;
void CopyFileLocal(scoped_ptr<storage::FileSystemOperationContext> context,
const storage::FileSystemURL& src_url,
@@ -106,7 +109,7 @@ class DeviceMediaAsyncFileUtil : public storage::AsyncFileUtil {
// with reading this file are returned by the FileStreamReader itself.
virtual scoped_ptr<storage::FileStreamReader> GetFileStreamReader(
const storage::FileSystemURL& url,
- int64 offset,
+ int64_t offset,
const base::Time& expected_modification_time,
storage::FileSystemContext* context);

Powered by Google App Engine
This is Rietveld 408576698