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

Unified Diff: components/drive/fake_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/event_logger.h ('k') | components/drive/fake_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/fake_file_system.h
diff --git a/components/drive/fake_file_system.h b/components/drive/fake_file_system.h
index de5cec3f47e1ec297b2eb08ce9788c53d2efeff8..6635166152dbba818292fe4b68355ac201c928bb 100644
--- a/components/drive/fake_file_system.h
+++ b/components/drive/fake_file_system.h
@@ -5,11 +5,13 @@
#ifndef COMPONENTS_DRIVE_FAKE_FILE_SYSTEM_H_
#define COMPONENTS_DRIVE_FAKE_FILE_SYSTEM_H_
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/callback_forward.h"
#include "base/files/scoped_temp_dir.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "components/drive/file_errors.h"
#include "components/drive/file_system_interface.h"
@@ -76,7 +78,7 @@ class FakeFileSystem : 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;
@@ -126,7 +128,7 @@ class FakeFileSystem : 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/event_logger.h ('k') | components/drive/fake_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698