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

Unified Diff: net/base/file_stream_context.h

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 months 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: net/base/file_stream_context.h
diff --git a/net/base/file_stream_context.h b/net/base/file_stream_context.h
index 74677fe8fb9edfdb86fd861121d451e6a5000e9f..f49e5bcb5fbb334dc9281ecc1f65c20c8e610dc4 100644
--- a/net/base/file_stream_context.h
+++ b/net/base/file_stream_context.h
@@ -93,7 +93,7 @@ class FileStream::Context {
void Close(const CompletionCallback& callback);
void Seek(base::File::Whence whence,
- int64 offset,
+ int64_t offset,
const Int64CompletionCallback& callback);
void Flush(const CompletionCallback& callback);
@@ -101,10 +101,10 @@ class FileStream::Context {
private:
struct IOResult {
IOResult();
- IOResult(int64 result, logging::SystemErrorCode os_error);
+ IOResult(int64_t result, logging::SystemErrorCode os_error);
static IOResult FromOSError(logging::SystemErrorCode os_error);
- int64 result;
+ int64_t result;
logging::SystemErrorCode os_error; // Set only when result < 0.
};
@@ -149,7 +149,7 @@ class FileStream::Context {
////////////////////////////////////////////////////////////////////////////
// Adjusts the position from where the data is read.
- IOResult SeekFileImpl(base::File::Whence whence, int64 offset);
+ IOResult SeekFileImpl(base::File::Whence whence, int64_t offset);
void OnFileOpened();

Powered by Google App Engine
This is Rietveld 408576698