| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 #ifndef PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2READJOB_H_ | 6 #ifndef PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2READJOB_H_ |
| 7 #define PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2READJOB_H_ | 7 #define PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2READJOB_H_ |
| 8 | 8 |
| 9 #include "../util/ppapi_version.h" |
| 9 #include <ppapi/c/pp_errors.h> | 10 #include <ppapi/c/pp_errors.h> |
| 10 #include <ppapi/c/pp_file_info.h> | 11 #include <ppapi/c/pp_file_info.h> |
| 11 #include <ppapi/cpp/completion_callback.h> | 12 #include <ppapi/cpp/completion_callback.h> |
| 12 #include <ppapi/cpp/file_io.h> | 13 #include <ppapi/cpp/file_io.h> |
| 13 #include <ppapi/cpp/file_ref.h> | 14 #include <ppapi/cpp/file_ref.h> |
| 14 #include <ppapi/cpp/file_system.h> | 15 #include <ppapi/cpp/file_system.h> |
| 15 #include <ppapi/cpp/url_loader.h> | 16 #include <ppapi/cpp/url_loader.h> |
| 16 #include <ppapi/cpp/url_request_info.h> | 17 #include <ppapi/cpp/url_request_info.h> |
| 17 #include <ppapi/cpp/url_response_info.h> | 18 #include <ppapi/cpp/url_response_info.h> |
| 19 #if ADHOC_PPAPI_VERSION >= 18 |
| 20 #include <ppapi/utility/completion_callback_factory.h> |
| 21 #endif |
| 18 #include <string> | 22 #include <string> |
| 19 #include <vector> | 23 #include <vector> |
| 20 #include "../base/MainThreadRunner.h" | 24 #include "../base/MainThreadRunner.h" |
| 21 #include "../util/macros.h" | 25 #include "../util/macros.h" |
| 22 | 26 |
| 23 | 27 |
| 24 class HTTP2ReadJob : public MainThreadJob { | 28 class HTTP2ReadJob : public MainThreadJob { |
| 25 public: | 29 public: |
| 26 HTTP2ReadJob(); | 30 HTTP2ReadJob(); |
| 27 ~HTTP2ReadJob(); | 31 ~HTTP2ReadJob(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 40 | 44 |
| 41 | 45 |
| 42 MainThreadRunner::JobEntry *job_entry_; | 46 MainThreadRunner::JobEntry *job_entry_; |
| 43 | 47 |
| 44 void Finish(int32_t result); | 48 void Finish(int32_t result); |
| 45 | 49 |
| 46 DISALLOW_COPY_AND_ASSIGN(HTTP2ReadJob); | 50 DISALLOW_COPY_AND_ASSIGN(HTTP2ReadJob); |
| 47 }; | 51 }; |
| 48 | 52 |
| 49 #endif // PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2READJOB_H_ | 53 #endif // PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2READJOB_H_ |
| OLD | NEW |