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

Unified Diff: util/net/http_transport_mac.mm

Issue 1416493006: Change file op |ssize_t|s to FileOperationResult (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 2 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: util/net/http_transport_mac.mm
diff --git a/util/net/http_transport_mac.mm b/util/net/http_transport_mac.mm
index 971a99867fd948e9d5687a0d0dae9a9f0dfe4a29..8c8e22bc3f32b1f331e63f152d02071402a4bdfd 100644
--- a/util/net/http_transport_mac.mm
+++ b/util/net/http_transport_mac.mm
@@ -93,7 +93,8 @@ class HTTPBodyStreamCFReadStream {
return 0;
}
- ssize_t bytes_read = GetStream(info)->GetBytesBuffer(buffer, buffer_length);
+ FileOperationResult bytes_read =
Mark Mentovai 2015/10/22 22:56:18 file_io.h
scottmg 2015/10/22 23:13:40 Done.
+ GetStream(info)->GetBytesBuffer(buffer, buffer_length);
if (bytes_read < 0) {
error->error = -1;
error->domain = kCFStreamErrorDomainCustom;

Powered by Google App Engine
This is Rietveld 408576698