Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: ppapi/native_client/src/trusted/plugin/plugin.cc

Issue 296403010: Pepper: Remove Plugin::StreamAsFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/trusted/plugin/plugin.cc
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.cc b/ppapi/native_client/src/trusted/plugin/plugin.cc
index 22afedb706c7fb97174e8e51379d989b15dae75f..9977b0d2926184f2582f8954cab55eb47c307dff 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc
@@ -561,16 +561,6 @@ void Plugin::RequestNaClManifest(const nacl::string& url) {
open_callback.pp_completion_callback());
}
-void Plugin::StreamAsFile(const nacl::string& url,
- PP_NaClFileInfo* file_info,
- const pp::CompletionCallback& callback) {
- PLUGIN_PRINTF(("Plugin::StreamAsFile (url='%s')\n", url.c_str()));
- nacl_interface_->DownloadFile(pp_instance(),
- url.c_str(),
- file_info,
- callback.pp_completion_callback());
-}
-
void Plugin::ReportLoadSuccess(uint64_t loaded_bytes, uint64_t total_bytes) {
nacl_interface_->ReportLoadSuccess(
pp_instance(), program_url_.c_str(), loaded_bytes, total_bytes);
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.h ('k') | ppapi/native_client/src/trusted/plugin/service_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698