| OLD | NEW |
| 1 // -*- c++ -*- | 1 // -*- c++ -*- |
| 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 // Copyright (c) 2012 The Chromium 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 // The portable representation of an instance and root scriptable object. | 6 // The portable representation of an instance and root scriptable object. |
| 7 // The PPAPI version of the plugin instantiates a subclass of this class. | 7 // The PPAPI version of the plugin instantiates a subclass of this class. |
| 8 | 8 |
| 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 210 |
| 211 void SetExitStatusOnMainThread(int32_t pp_error, int exit_status); | 211 void SetExitStatusOnMainThread(int32_t pp_error, int exit_status); |
| 212 | 212 |
| 213 // Keep track of the NaCl module subprocess that was spun up in the plugin. | 213 // Keep track of the NaCl module subprocess that was spun up in the plugin. |
| 214 NaClSubprocess main_subprocess_; | 214 NaClSubprocess main_subprocess_; |
| 215 | 215 |
| 216 bool uses_nonsfi_mode_; | 216 bool uses_nonsfi_mode_; |
| 217 | 217 |
| 218 nacl::DescWrapperFactory* wrapper_factory_; | 218 nacl::DescWrapperFactory* wrapper_factory_; |
| 219 | 219 |
| 220 // Original, unresolved URL for the .nexe program to load. | |
| 221 std::string program_url_; | |
| 222 | |
| 223 pp::CompletionCallbackFactory<Plugin> callback_factory_; | 220 pp::CompletionCallbackFactory<Plugin> callback_factory_; |
| 224 | 221 |
| 225 nacl::scoped_ptr<PnaclCoordinator> pnacl_coordinator_; | 222 nacl::scoped_ptr<PnaclCoordinator> pnacl_coordinator_; |
| 226 | 223 |
| 227 int exit_status_; | 224 int exit_status_; |
| 228 | 225 |
| 229 PP_NaClFileInfo nexe_file_info_; | 226 PP_NaClFileInfo nexe_file_info_; |
| 230 | 227 |
| 231 const PPB_NaCl_Private* nacl_interface_; | 228 const PPB_NaCl_Private* nacl_interface_; |
| 232 pp::UMAPrivate uma_interface_; | 229 pp::UMAPrivate uma_interface_; |
| 233 }; | 230 }; |
| 234 | 231 |
| 235 } // namespace plugin | 232 } // namespace plugin |
| 236 | 233 |
| 237 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 234 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| OLD | NEW |