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

Unified Diff: chrome/browser/chromeos/file_system_provider/throttled_file_system.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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/chromeos/file_system_provider/throttled_file_system.h
diff --git a/chrome/browser/chromeos/file_system_provider/throttled_file_system.h b/chrome/browser/chromeos/file_system_provider/throttled_file_system.h
index 55d4d8c2516f2c56b0719311d38c38c6a4b9c239..8f9563f06c04abf06fde96fbc7a155c4eee2562e 100644
--- a/chrome/browser/chromeos/file_system_provider/throttled_file_system.h
+++ b/chrome/browser/chromeos/file_system_provider/throttled_file_system.h
@@ -5,9 +5,12 @@
#ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_THROTTLED_FILE_SYSTEM_H_
#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_THROTTLED_FILE_SYSTEM_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
+#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 ThrottledFileSystem : public ProvidedFileSystemInterface {
const storage::AsyncFileUtil::StatusCallback& callback) override;
AbortCallback ReadFile(int file_handle,
net::IOBuffer* buffer,
- int64 offset,
+ int64_t offset,
int length,
const ReadChunkReceivedCallback& callback) override;
AbortCallback CreateDirectory(
@@ -90,12 +93,12 @@ class ThrottledFileSystem : public ProvidedFileSystemInterface {
const storage::AsyncFileUtil::StatusCallback& callback) override;
AbortCallback Truncate(
const base::FilePath& file_path,
- int64 length,
+ int64_t length,
const storage::AsyncFileUtil::StatusCallback& callback) override;
AbortCallback WriteFile(
int file_handle,
net::IOBuffer* buffer,
- int64 offset,
+ int64_t offset,
int length,
const storage::AsyncFileUtil::StatusCallback& callback) override;
AbortCallback AddWatcher(

Powered by Google App Engine
This is Rietveld 408576698