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

Unified Diff: storage/browser/fileapi/file_system_operation_impl.h

Issue 1498003003: Remove kint64max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: INT64_MAX 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 | « ppapi/proxy/file_io_resource.cc ('k') | storage/browser/fileapi/file_system_operation_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/fileapi/file_system_operation_impl.h
diff --git a/storage/browser/fileapi/file_system_operation_impl.h b/storage/browser/fileapi/file_system_operation_impl.h
index 26a434e251ae373a2b253b4b6b99790b996f4eec..5638ccac34efe9f33e09303a476c954edc5bd3b9 100644
--- a/storage/browser/fileapi/file_system_operation_impl.h
+++ b/storage/browser/fileapi/file_system_operation_impl.h
@@ -5,6 +5,8 @@
#ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_
#define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_
+#include <stdint.h>
+
#include <vector>
#include "base/memory/ref_counted.h"
@@ -65,7 +67,7 @@ class STORAGE_EXPORT FileSystemOperationImpl
scoped_ptr<net::URLRequest> blob_request,
const WriteCallback& callback) override;
void Truncate(const FileSystemURL& url,
- int64 length,
+ int64_t length,
const StatusCallback& callback) override;
void TouchFile(const FileSystemURL& url,
const base::Time& last_access_time,
@@ -123,8 +125,8 @@ class STORAGE_EXPORT FileSystemOperationImpl
void DidGetUsageAndQuotaAndRunTask(const base::Closure& task,
const base::Closure& error_callback,
storage::QuotaStatusCode status,
- int64 usage,
- int64 quota);
+ int64_t usage,
+ int64_t quota);
// The 'body' methods that perform the actual work (i.e. posting the
// file task on proxy_) after the quota check.
@@ -147,7 +149,8 @@ class STORAGE_EXPORT FileSystemOperationImpl
const FileSystemURL& dest,
const StatusCallback& callback);
void DoTruncate(const FileSystemURL& url,
- const StatusCallback& callback, int64 length);
+ const StatusCallback& callback,
+ int64_t length);
void DoOpenFile(const FileSystemURL& url,
const OpenFileCallback& callback, int file_flags);
@@ -175,7 +178,7 @@ class STORAGE_EXPORT FileSystemOperationImpl
void DidWrite(const FileSystemURL& url,
const WriteCallback& callback,
base::File::Error rv,
- int64 bytes,
+ int64_t bytes,
FileWriterDelegate::WriteProgressStatus write_status);
// Used only for internal assertions.
« no previous file with comments | « ppapi/proxy/file_io_resource.cc ('k') | storage/browser/fileapi/file_system_operation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698