| 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 | 4 |
| 5 #include "ppapi/proxy/url_loader_resource.h" | 5 #include "ppapi/proxy/url_loader_resource.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ppapi/c/pp_completion_callback.h" | 8 #include "ppapi/c/pp_completion_callback.h" |
| 9 #include "ppapi/c/pp_errors.h" | 9 #include "ppapi/c/pp_errors.h" |
| 10 #include "ppapi/c/ppb_url_loader.h" | 10 #include "ppapi/c/ppb_url_loader.h" |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 SetDefersLoading(false); | 382 SetDefersLoading(false); |
| 383 } | 383 } |
| 384 | 384 |
| 385 // Reset for next time. | 385 // Reset for next time. |
| 386 user_buffer_ = NULL; | 386 user_buffer_ = NULL; |
| 387 user_buffer_size_ = 0; | 387 user_buffer_size_ = 0; |
| 388 return bytes_to_copy; | 388 return bytes_to_copy; |
| 389 } | 389 } |
| 390 | 390 |
| 391 } // namespace proxy | 391 } // namespace proxy |
| 392 } // namespace ppapi | 392 } // namespace ppapi |
| OLD | NEW |