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

Unified Diff: components/drive/file_system/truncate_operation.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
Index: components/drive/file_system/truncate_operation.h
diff --git a/components/drive/file_system/truncate_operation.h b/components/drive/file_system/truncate_operation.h
index ff22806e479d526a5e3fbc840b5380dbbe9e90dd..42544a69dd40a8f0e32f3e9779b3ad5aedb7bc39 100644
--- a/components/drive/file_system/truncate_operation.h
+++ b/components/drive/file_system/truncate_operation.h
@@ -5,7 +5,9 @@
#ifndef COMPONENTS_DRIVE_FILE_SYSTEM_TRUNCATE_OPERATION_H_
#define COMPONENTS_DRIVE_FILE_SYSTEM_TRUNCATE_OPERATION_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -50,12 +52,13 @@ class TruncateOperation {
// |length| bytes. Invokes |callback| when finished with the result of the
// operation. |callback| must not be null.
void Truncate(const base::FilePath& file_path,
- int64 length,
+ int64_t length,
const FileOperationCallback& callback);
+
private:
// Part of Truncate(). Called after EnsureFileDownloadedByPath() is complete.
void TruncateAfterEnsureFileDownloadedByPath(
- int64 length,
+ int64_t length,
const FileOperationCallback& callback,
FileError error,
const base::FilePath& local_file_path,
« no previous file with comments | « components/drive/file_system/search_operation_unittest.cc ('k') | components/drive/file_system/truncate_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698