| 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  448   // it and replay it to nexe after it's loaded. We need to replay when this |  448   // it and replay it to nexe after it's loaded. We need to replay when this | 
|  449   // URLLoader resource is non-is_null(). |  449   // URLLoader resource is non-is_null(). | 
|  450   pp::URLLoader document_load_to_replay_; |  450   pp::URLLoader document_load_to_replay_; | 
|  451  |  451  | 
|  452   nacl::string mime_type_; |  452   nacl::string mime_type_; | 
|  453  |  453  | 
|  454   // Keep track of the FileDownloaders created to fetch urls. |  454   // Keep track of the FileDownloaders created to fetch urls. | 
|  455   std::set<FileDownloader*> url_downloaders_; |  455   std::set<FileDownloader*> url_downloaders_; | 
|  456   // Keep track of file descriptors opened by StreamAsFile(). |  456   // Keep track of file descriptors opened by StreamAsFile(). | 
|  457   // These are owned by the browser. |  457   // These are owned by the browser. | 
|  458   std::map<nacl::string, struct NaClFileInfo> url_file_info_map_; |  458   std::map<nacl::string, NaClFileInfoAutoCloser*> url_file_info_map_; | 
|  459  |  459  | 
|  460   // Pending progress events. |  460   // Pending progress events. | 
|  461   std::queue<ProgressEvent*> progress_events_; |  461   std::queue<ProgressEvent*> progress_events_; | 
|  462  |  462  | 
|  463   // Used for NexeFileDidOpenContinuation |  463   // Used for NexeFileDidOpenContinuation | 
|  464   int64_t load_start_; |  464   int64_t load_start_; | 
|  465  |  465  | 
|  466   int64_t init_time_; |  466   int64_t init_time_; | 
|  467   int64_t ready_time_; |  467   int64_t ready_time_; | 
|  468   size_t nexe_size_; |  468   size_t nexe_size_; | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
|  484   int64_t time_of_last_progress_event_; |  484   int64_t time_of_last_progress_event_; | 
|  485   int exit_status_; |  485   int exit_status_; | 
|  486  |  486  | 
|  487   const PPB_NaCl_Private* nacl_interface_; |  487   const PPB_NaCl_Private* nacl_interface_; | 
|  488   pp::UMAPrivate uma_interface_; |  488   pp::UMAPrivate uma_interface_; | 
|  489 }; |  489 }; | 
|  490  |  490  | 
|  491 }  // namespace plugin |  491 }  // namespace plugin | 
|  492  |  492  | 
|  493 #endif  // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |  493 #endif  // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 
| OLD | NEW |