| 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_HTTP2FSOPENJOB_H_ | 6 #ifndef PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2FSOPENJOB_H_ |
| 7 #define PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2FSOPENJOB_H_ | 7 #define PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2FSOPENJOB_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_system.h> | 13 #include <ppapi/cpp/file_system.h> |
| 14 #if ADHOC_PPAPI_VERSION >= 18 |
| 15 #include <ppapi/utility/completion_callback_factory.h> |
| 16 #endif |
| 13 #include <string> | 17 #include <string> |
| 14 #include <vector> | 18 #include <vector> |
| 15 #include "../base/MainThreadRunner.h" | 19 #include "../base/MainThreadRunner.h" |
| 16 #include "../util/macros.h" | 20 #include "../util/macros.h" |
| 17 | 21 |
| 18 | 22 |
| 19 class HTTP2FSOpenJob : public MainThreadJob { | 23 class HTTP2FSOpenJob : public MainThreadJob { |
| 20 public: | 24 public: |
| 21 HTTP2FSOpenJob(); | 25 HTTP2FSOpenJob(); |
| 22 ~HTTP2FSOpenJob(); | 26 ~HTTP2FSOpenJob(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 33 | 37 |
| 34 | 38 |
| 35 MainThreadRunner::JobEntry *job_entry_; | 39 MainThreadRunner::JobEntry *job_entry_; |
| 36 | 40 |
| 37 void Finish(int32_t result); | 41 void Finish(int32_t result); |
| 38 | 42 |
| 39 DISALLOW_COPY_AND_ASSIGN(HTTP2FSOpenJob); | 43 DISALLOW_COPY_AND_ASSIGN(HTTP2FSOpenJob); |
| 40 }; | 44 }; |
| 41 | 45 |
| 42 #endif // PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2FSOPENJOB_H_ | 46 #endif // PACKAGES_LIBRARIES_NACL_MOUNTS_HTTP2_HTTP2FSOPENJOB_H_ |
| OLD | NEW |