| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 int64_t bytes_received, | 520 int64_t bytes_received, |
| 521 int64_t total_bytes_to_be_received); | 521 int64_t total_bytes_to_be_received); |
| 522 | 522 |
| 523 // Finds the file downloader which owns the given URL loader. This is used | 523 // Finds the file downloader which owns the given URL loader. This is used |
| 524 // in UpdateDownloadProgress to map a url loader back to the URL being | 524 // in UpdateDownloadProgress to map a url loader back to the URL being |
| 525 // downloaded. | 525 // downloaded. |
| 526 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const; | 526 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const; |
| 527 | 527 |
| 528 int64_t time_of_last_progress_event_; | 528 int64_t time_of_last_progress_event_; |
| 529 | 529 |
| 530 // Whether we are using IPC-based PPAPI proxy. | |
| 531 bool using_ipc_proxy_; | |
| 532 | |
| 533 const PPB_NaCl_Private* nacl_interface_; | 530 const PPB_NaCl_Private* nacl_interface_; |
| 534 }; | 531 }; |
| 535 | 532 |
| 536 } // namespace plugin | 533 } // namespace plugin |
| 537 | 534 |
| 538 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 535 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| OLD | NEW |