Chromium Code Reviews| Index: ppapi/native_client/src/trusted/plugin/plugin.h |
| diff --git a/ppapi/native_client/src/trusted/plugin/plugin.h b/ppapi/native_client/src/trusted/plugin/plugin.h |
| index 3a14470ba2c2693b2efe51aaab76e2b4bbb51231..5e841951037b7e8c030d95f6a805efdf2bc10739 100644 |
| --- a/ppapi/native_client/src/trusted/plugin/plugin.h |
| +++ b/ppapi/native_client/src/trusted/plugin/plugin.h |
| @@ -281,13 +281,9 @@ class Plugin : public pp::Instance { |
| nacl::DescWrapperFactory* wrapper_factory_; |
| - // File download support. |nexe_downloader_| can be opened with a specific |
| - // callback to run when the file has been downloaded and is opened for |
| - // reading. We use one downloader for all URL downloads to prevent issuing |
| - // multiple GETs that might arrive out of order. For example, this will |
| - // prevent a GET of a NaCl manifest while a .nexe GET is pending. Note that |
| - // this will also prevent simultaneous handling of multiple .nexes on a page. |
| - FileDownloader nexe_downloader_; |
| + // Original URL (without resolution) for the .nexe program to load. |
|
bbudge
2014/05/14 21:46:18
How about 'Original, unresolved URL for ...' ?
teravest
2014/05/15 19:12:21
Done.
|
| + std::string program_url_; |
| + |
| pp::CompletionCallbackFactory<Plugin> callback_factory_; |
| nacl::scoped_ptr<PnaclCoordinator> pnacl_coordinator_; |
| @@ -315,12 +311,11 @@ class Plugin : public pp::Instance { |
| int64_t time_of_last_progress_event_; |
| int exit_status_; |
| - // Open times are in microseconds. |
| - int64_t nexe_open_time_; |
| - |
| PP_Var manifest_data_var_; |
| int32_t manifest_id_; |
| + PP_FileHandle nexe_handle_; |
| + |
| const PPB_NaCl_Private* nacl_interface_; |
| pp::UMAPrivate uma_interface_; |
| }; |