| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_COORDINATOR_H_ | 5 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_COORDINATOR_H_ |
| 6 #define COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_COORDINATOR_H_ | 6 #define COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_COORDINATOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 13 #include "base/macros.h" |
| 10 #include "components/nacl/renderer/plugin/nacl_subprocess.h" | 14 #include "components/nacl/renderer/plugin/nacl_subprocess.h" |
| 11 #include "components/nacl/renderer/plugin/plugin_error.h" | 15 #include "components/nacl/renderer/plugin/plugin_error.h" |
| 12 #include "components/nacl/renderer/plugin/pnacl_resources.h" | 16 #include "components/nacl/renderer/plugin/pnacl_resources.h" |
| 13 #include "native_client/src/include/nacl_macros.h" | 17 #include "native_client/src/include/nacl_macros.h" |
| 14 #include "native_client/src/shared/srpc/nacl_srpc.h" | 18 #include "native_client/src/shared/srpc/nacl_srpc.h" |
| 15 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" | 19 #include "native_client/src/trusted/desc/nacl_desc_wrapper.h" |
| 16 #include "ppapi/cpp/completion_callback.h" | 20 #include "ppapi/cpp/completion_callback.h" |
| 17 #include "ppapi/utility/completion_callback_factory.h" | 21 #include "ppapi/utility/completion_callback_factory.h" |
| 18 | 22 |
| 19 struct PP_PNaClOptions; | 23 struct PP_PNaClOptions; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // The helper thread used to do translations via SRPC. | 192 // The helper thread used to do translations via SRPC. |
| 189 // It accesses fields of PnaclCoordinator so it must have a | 193 // It accesses fields of PnaclCoordinator so it must have a |
| 190 // shorter lifetime. | 194 // shorter lifetime. |
| 191 nacl::scoped_ptr<PnaclTranslateThread> translate_thread_; | 195 nacl::scoped_ptr<PnaclTranslateThread> translate_thread_; |
| 192 }; | 196 }; |
| 193 | 197 |
| 194 //---------------------------------------------------------------------- | 198 //---------------------------------------------------------------------- |
| 195 | 199 |
| 196 } // namespace plugin; | 200 } // namespace plugin; |
| 197 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_COORDINATOR_H_ | 201 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PNACL_COORDINATOR_H_ |
| OLD | NEW |