| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium 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 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ | 5 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ |
| 6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ | 6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "native_client/src/include/nacl_macros.h" | 12 #include "native_client/src/include/nacl_macros.h" |
| 13 #include "native_client/src/include/nacl_string.h" | 13 #include "native_client/src/include/nacl_string.h" |
| 14 #include "native_client/src/shared/platform/nacl_sync_checked.h" | 14 #include "native_client/src/shared/platform/nacl_sync_checked.h" |
| 15 #include "native_client/src/shared/platform/nacl_sync_raii.h" | 15 #include "native_client/src/shared/platform/nacl_sync_raii.h" |
| 16 #include "native_client/src/shared/platform/nacl_threads.h" | 16 #include "native_client/src/shared/platform/nacl_threads.h" |
| 17 #include "native_client/src/shared/srpc/nacl_srpc.h" | 17 #include "native_client/src/shared/srpc/nacl_srpc.h" |
| 18 #include "native_client/src/trusted/desc/nacl_desc_rng.h" | 18 #include "native_client/src/trusted/desc/nacl_desc_rng.h" |
| 19 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 19 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
| 20 #include "native_client/src/trusted/plugin/delayed_callback.h" | 20 #include "native_client/src/trusted/plugin/delayed_callback.h" |
| 21 #include "native_client/src/trusted/plugin/nacl_subprocess.h" | 21 #include "native_client/src/trusted/plugin/nacl_subprocess.h" |
| 22 #include "native_client/src/trusted/plugin/plugin_error.h" | 22 #include "native_client/src/trusted/plugin/plugin_error.h" |
| 23 #include "native_client/src/trusted/plugin/pnacl_resources.h" | 23 #include "native_client/src/trusted/plugin/pnacl_resources.h" |
| 24 | 24 |
| 25 #include "ppapi/c/pp_file_info.h" | 25 #include "ppapi/c/pp_file_info.h" |
| 26 #include "ppapi/c/trusted/ppb_file_io_trusted.h" |
| 26 #include "ppapi/cpp/completion_callback.h" | 27 #include "ppapi/cpp/completion_callback.h" |
| 27 #include "ppapi/cpp/file_io.h" | 28 #include "ppapi/cpp/file_io.h" |
| 28 #include "ppapi/cpp/file_ref.h" | 29 #include "ppapi/cpp/file_ref.h" |
| 29 #include "ppapi/cpp/file_system.h" | 30 #include "ppapi/cpp/file_system.h" |
| 30 | 31 |
| 31 struct NaClMutex; | 32 struct NaClMutex; |
| 32 struct PPB_FileIOTrusted; | |
| 33 | 33 |
| 34 namespace plugin { | 34 namespace plugin { |
| 35 | 35 |
| 36 class Manifest; | 36 class Manifest; |
| 37 class Plugin; | 37 class Plugin; |
| 38 class PnaclCoordinator; | 38 class PnaclCoordinator; |
| 39 | 39 |
| 40 // Translation creates two temporary files. The first temporary file holds | 40 // Translation creates two temporary files. The first temporary file holds |
| 41 // the object file created by llc. The second holds the nexe produced by | 41 // the object file created by llc. The second holds the nexe produced by |
| 42 // the linker. Both of these temporary files are used to both write and | 42 // the linker. Both of these temporary files are used to both write and |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 pp::CompletionCallback translate_done_cb_; | 274 pp::CompletionCallback translate_done_cb_; |
| 275 | 275 |
| 276 // Used to report information when errors (PPAPI or otherwise) are reported. | 276 // Used to report information when errors (PPAPI or otherwise) are reported. |
| 277 ErrorInfo error_info_; | 277 ErrorInfo error_info_; |
| 278 }; | 278 }; |
| 279 | 279 |
| 280 //---------------------------------------------------------------------- | 280 //---------------------------------------------------------------------- |
| 281 | 281 |
| 282 } // namespace plugin; | 282 } // namespace plugin; |
| 283 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ | 283 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PNACL_COORDINATOR_H_ |
| OLD | NEW |