| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 4 |
| 5 #include "native_client/tests/ppapi_geturl/url_load_request.h" | 5 #include "native_client/tests/ppapi_geturl/url_load_request.h" |
| 6 | 6 |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <sstream> | 9 #include <sstream> |
| 10 | 10 |
| 11 #include "native_client/src/include/portability.h" | 11 #include "native_client/src/include/portability.h" |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 } | 341 } |
| 342 | 342 |
| 343 void UrlLoadRequest::OpenFileBodyCallback(int32_t pp_error) { | 343 void UrlLoadRequest::OpenFileBodyCallback(int32_t pp_error) { |
| 344 printf("--- UrlLoadRequest::OpenFileBodyCallback\n"); | 344 printf("--- UrlLoadRequest::OpenFileBodyCallback\n"); |
| 345 if (pp_error != PP_OK) { | 345 if (pp_error != PP_OK) { |
| 346 ReportFailure("UrlLoadRequest::OpenFileBodyCallback: ", pp_error); | 346 ReportFailure("UrlLoadRequest::OpenFileBodyCallback: ", pp_error); |
| 347 return; | 347 return; |
| 348 } | 348 } |
| 349 ReadFileBody(); | 349 ReadFileBody(); |
| 350 } | 350 } |
| OLD | NEW |