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