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

Unified Diff: net/base/file_stream_context.cc

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.cc
diff --git a/net/base/file_stream_context.cc b/net/base/file_stream_context.cc
index eeb68932e712d0adf173a4ae92ba751698b23be3..b152a99003ff3ad288bba93a826ff238cc9c0ce0 100644
--- a/net/base/file_stream_context.cc
+++ b/net/base/file_stream_context.cc
@@ -22,7 +22,7 @@ namespace net {
namespace {
-void CallInt64ToInt(const CompletionCallback& callback, int64 result) {
+void CallInt64ToInt(const CompletionCallback& callback, int64_t result) {
callback.Run(static_cast<int>(result));
}
@@ -33,10 +33,9 @@ FileStream::Context::IOResult::IOResult()
os_error(0) {
}
-FileStream::Context::IOResult::IOResult(int64 result,
+FileStream::Context::IOResult::IOResult(int64_t result,
logging::SystemErrorCode os_error)
- : result(result),
- os_error(os_error) {
+ : result(result), os_error(os_error) {
}
// static
@@ -117,7 +116,7 @@ void FileStream::Context::Close(const CompletionCallback& callback) {
}
void FileStream::Context::Seek(base::File::Whence whence,
- int64 offset,
+ int64_t offset,
const Int64CompletionCallback& callback) {
DCHECK(!async_in_progress_);

Powered by Google App Engine
This is Rietveld 408576698