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

Unified Diff: components/drive/file_system_interface.h

Issue 1546143002: Switch to standard integer types in components/, part 1 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
« no previous file with comments | « components/drive/file_system_core_util.cc ('k') | components/drive/file_system_metadata.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/file_system_interface.h
diff --git a/components/drive/file_system_interface.h b/components/drive/file_system_interface.h
index aa6b0994f86124ffc47427ee6fa3df751f28def1..2fb43b9a79853dfea7cb9f2ea5e7c098aad65c94 100644
--- a/components/drive/file_system_interface.h
+++ b/components/drive/file_system_interface.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_DRIVE_FILE_SYSTEM_INTERFACE_H_
#define COMPONENTS_DRIVE_FILE_SYSTEM_INTERFACE_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
@@ -119,8 +121,8 @@ typedef base::Callback<void(FileError error,
// Used to get available space for the account from Drive.
typedef base::Callback<void(FileError error,
- int64 bytes_total,
- int64 bytes_used)> GetAvailableSpaceCallback;
+ int64_t bytes_total,
+ int64_t bytes_used)> GetAvailableSpaceCallback;
// Used to get the url to the sharing dialog.
typedef base::Callback<void(FileError error,
@@ -308,7 +310,7 @@ class FileSystemInterface {
//
// |callback| must not be null.
virtual void TruncateFile(const base::FilePath& file_path,
- int64 length,
+ int64_t length,
const FileOperationCallback& callback) = 0;
// Pins a file at |file_path|.
@@ -460,7 +462,7 @@ class FileSystemInterface {
// Free drive caches if needed to secure given available spaces. |callback|
// takes whether given bytes are available or not.
virtual void FreeDiskSpaceIfNeededFor(
- int64 num_bytes,
+ int64_t num_bytes,
const FreeDiskSpaceCallback& callback) = 0;
// Calculates evictable cache size.
« no previous file with comments | « components/drive/file_system_core_util.cc ('k') | components/drive/file_system_metadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698