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); |