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

Unified Diff: net/base/file_stream_context.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « net/base/file_stream_context.h ('k') | net/base/host_port_pair.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream_context.cc
diff --git a/net/base/file_stream_context.cc b/net/base/file_stream_context.cc
index 8909b2ccefd4d98685a0e2abe6fe6bb98c8ccd83..5acaab6eb63bd25078a7ced3493a415c82f103bd 100644
--- a/net/base/file_stream_context.cc
+++ b/net/base/file_stream_context.cc
@@ -33,14 +33,15 @@ FileStream::Context::IOResult::IOResult()
os_error(0) {
}
-FileStream::Context::IOResult::IOResult(int64 result, int os_error)
+FileStream::Context::IOResult::IOResult(int64 result,
+ logging::SystemErrorCode os_error)
: result(result),
os_error(os_error) {
}
// static
FileStream::Context::IOResult FileStream::Context::IOResult::FromOSError(
- int64 os_error) {
+ logging::SystemErrorCode os_error) {
return IOResult(MapSystemError(os_error), os_error);
}
« no previous file with comments | « net/base/file_stream_context.h ('k') | net/base/host_port_pair.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698