| 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 int64_t total_bytes_to_be_sent, | 510 int64_t total_bytes_to_be_sent, |
| 511 int64_t bytes_received, | 511 int64_t bytes_received, |
| 512 int64_t total_bytes_to_be_received); | 512 int64_t total_bytes_to_be_received); |
| 513 | 513 |
| 514 // Finds the file downloader which owns the given URL loader. This is used | 514 // Finds the file downloader which owns the given URL loader. This is used |
| 515 // in UpdateDownloadProgress to map a url loader back to the URL being | 515 // in UpdateDownloadProgress to map a url loader back to the URL being |
| 516 // downloaded. | 516 // downloaded. |
| 517 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const; | 517 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const; |
| 518 | 518 |
| 519 int64_t time_of_last_progress_event_; | 519 int64_t time_of_last_progress_event_; |
| 520 |
| 521 // Whether we are using IPC-based PPAPI proxy. |
| 522 bool using_ipc_proxy_; |
| 520 }; | 523 }; |
| 521 | 524 |
| 522 } // namespace plugin | 525 } // namespace plugin |
| 523 | 526 |
| 524 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ | 527 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ |
| OLD | NEW |