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

Unified Diff: components/drive/file_system.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_change.h ('k') | components/drive/file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/file_system.h
diff --git a/components/drive/file_system.h b/components/drive/file_system.h
index 0c14384252618f6fc716dd3c8b7c249e7c586797..b17d955db73deb74936ec18c72a173fb96dd4df7 100644
--- a/components/drive/file_system.h
+++ b/components/drive/file_system.h
@@ -5,9 +5,12 @@
#ifndef COMPONENTS_DRIVE_FILE_SYSTEM_H_
#define COMPONENTS_DRIVE_FILE_SYSTEM_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
@@ -119,7 +122,7 @@ class FileSystem : public FileSystemInterface,
const base::Time& last_modified_time,
const FileOperationCallback& callback) override;
void TruncateFile(const base::FilePath& file_path,
- int64 length,
+ int64_t length,
const FileOperationCallback& callback) override;
void Pin(const base::FilePath& file_path,
const FileOperationCallback& callback) override;
@@ -160,7 +163,7 @@ class FileSystem : public FileSystemInterface,
void Reset(const FileOperationCallback& callback) override;
void GetPathFromResourceId(const std::string& resource_id,
const GetFilePathCallback& callback) override;
- void FreeDiskSpaceIfNeededFor(int64 num_bytes,
+ void FreeDiskSpaceIfNeededFor(int64_t num_bytes,
const FreeDiskSpaceCallback& callback) override;
void CalculateEvictableCacheSize(
const EvictableCacheSizeCallback& callback) override;
« no previous file with comments | « components/drive/file_change.h ('k') | components/drive/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698