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

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

Issue 316653002: Pepper: Remove Plugin::EnqueueProgressEvent. (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
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d8f4d88c240d939c01421cc2509cca1b62b2bc24..f3d38f32843b81076a3584fc5e5169703e69a8c3 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h
@@ -110,10 +110,6 @@ class Plugin : public pp::Instance {
PP_FileHandle file_handle,
ErrorInfo* error_info);
- enum LengthComputable {
- LENGTH_IS_NOT_COMPUTABLE = 0,
- LENGTH_IS_COMPUTABLE = 1
- };
// Report successful loading of a module.
void ReportLoadSuccess(uint64_t loaded_bytes, uint64_t total_bytes);
// Report an error that was encountered while loading a module.
@@ -121,17 +117,6 @@ class Plugin : public pp::Instance {
// Report loading a module was aborted, typically due to user action.
void ReportLoadAbort();
- // Dispatch a JavaScript event to indicate a key step in loading.
- // |event_type| is a character string indicating which type of progress
- // event (loadstart, progress, error, abort, load, loadend). Events are
- // enqueued on the JavaScript event loop, which then calls back through
- // DispatchProgressEvent.
- void EnqueueProgressEvent(PP_NaClEventType event_type,
- const nacl::string& url,
- LengthComputable length_computable,
- uint64_t loaded_bytes,
- uint64_t total_bytes);
-
// Report the error code that sel_ldr produces when starting a nexe.
void ReportSelLdrLoadStatus(int status);
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698