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..9c3d00fed52644f4846991dd389ce001c098cfa5 100644 |
--- a/util/net/http_transport_win.cc |
+++ b/util/net/http_transport_win.cc |
@@ -22,8 +22,9 @@ |
#include "base/scoped_generic.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
-#include "util/net/http_body.h" |
#include "package.h" |
+#include "util/file/file_io.h" |
+#include "util/net/http_body.h" |
namespace crashpad { |
@@ -174,7 +175,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 = |
body_stream()->GetBytesBuffer(buffer, sizeof(buffer)); |
if (bytes_to_write == 0) |
break; |