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

Unified Diff: components/drive/local_file_reader.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/job_scheduler_unittest.cc ('k') | components/drive/local_file_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/local_file_reader.h
diff --git a/components/drive/local_file_reader.h b/components/drive/local_file_reader.h
index ece328050971aea192277addecac43c8452be80f..463f8cd6e8a7f7d4a4b489b4a869611ca23a4392 100644
--- a/components/drive/local_file_reader.h
+++ b/components/drive/local_file_reader.h
@@ -5,7 +5,9 @@
#ifndef COMPONENTS_DRIVE_LOCAL_FILE_READER_H_
#define COMPONENTS_DRIVE_LOCAL_FILE_READER_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "net/base/completion_callback.h"
@@ -37,7 +39,7 @@ class LocalFileReader {
// Upon completion, |callback| will be called.
// |callback| must not be null.
void Open(const base::FilePath& file_path,
- int64 offset,
+ int64_t offset,
const net::CompletionCallback& callback);
// Reads the file and copies the data into |buffer|. |buffer_length|
@@ -50,11 +52,11 @@ class LocalFileReader {
private:
void DidOpen(const net::CompletionCallback& callback,
- int64 offset,
+ int64_t offset,
int error);
void DidSeek(const net::CompletionCallback& callback,
- int64 offset,
- int64 error);
+ int64_t offset,
+ int64_t error);
net::FileStream file_stream_;
« no previous file with comments | « components/drive/job_scheduler_unittest.cc ('k') | components/drive/local_file_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698