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

Unified Diff: util/net/http_transport_win.cc

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
« util/net/http_transport_mac.mm ('K') | « util/net/http_transport_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/net/http_transport_win.cc
diff --git a/util/net/http_transport_win.cc b/util/net/http_transport_win.cc
index e053311d440af292b7a4b62536fd063cbff77423..14d583d90774b6795691ab4a1a7d07983bb987d3 100644
--- a/util/net/http_transport_win.cc
+++ b/util/net/http_transport_win.cc
@@ -174,7 +174,7 @@ bool HTTPTransportWin::ExecuteSynchronously(std::string* response_body) {
const size_t kBufferSize = 4096;
for (;;) {
uint8_t buffer[kBufferSize];
- ssize_t bytes_to_write =
+ FileOperationResult bytes_to_write =
Mark Mentovai 2015/10/22 22:56:18 file_io.h
scottmg 2015/10/22 23:13:40 Done.
body_stream()->GetBytesBuffer(buffer, sizeof(buffer));
if (bytes_to_write == 0)
break;
« util/net/http_transport_mac.mm ('K') | « util/net/http_transport_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698