| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 */ | |
| 5 | 4 |
| 6 #include "nacl_io/mount_node_http.h" | 5 #include "nacl_io/mount_node_http.h" |
| 7 | 6 |
| 8 #include <assert.h> | 7 #include <assert.h> |
| 9 #include <errno.h> | 8 #include <errno.h> |
| 10 #include <stdio.h> | 9 #include <stdio.h> |
| 11 #include <string.h> | 10 #include <string.h> |
| 12 | 11 |
| 13 #include <ppapi/c/pp_errors.h> | 12 #include <ppapi/c/pp_errors.h> |
| 14 | 13 |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 | 531 |
| 533 assert(bytes_read <= bytes_to_read); | 532 assert(bytes_read <= bytes_to_read); |
| 534 bytes_to_read -= bytes_read; | 533 bytes_to_read -= bytes_read; |
| 535 out_buffer += bytes_read; | 534 out_buffer += bytes_read; |
| 536 } | 535 } |
| 537 | 536 |
| 538 *out_bytes = count; | 537 *out_bytes = count; |
| 539 return 0; | 538 return 0; |
| 540 } | 539 } |
| 541 | 540 |
| OLD | NEW |