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 c1a93880afc398bc29232ebb07135c8d832448ac..401978d0c726e81ec82256668a8358626f9f784b 100644 |
--- a/ppapi/native_client/src/trusted/plugin/plugin.h |
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h |
@@ -146,22 +146,13 @@ class Plugin : public pp::InstancePrivate { |
// event (loadstart, progress, error, abort, load, loadend). Events are |
// enqueued on the JavaScript event loop, which then calls back through |
// DispatchProgressEvent. |
- void EnqueueProgressEvent(const char* event_type); |
- void EnqueueProgressEvent(const char* event_type, |
+ void EnqueueProgressEvent(PP_NaClEventType event_type); |
+ void EnqueueProgressEvent(PP_NaClEventType event_type, |
const nacl::string& url, |
LengthComputable length_computable, |
uint64_t loaded_bytes, |
uint64_t total_bytes); |
- // Progress event types. |
- static const char* const kProgressEventLoadStart; |
- static const char* const kProgressEventProgress; |
- static const char* const kProgressEventError; |
- static const char* const kProgressEventAbort; |
- static const char* const kProgressEventLoad; |
- static const char* const kProgressEventLoadEnd; |
- static const char* const kProgressEventCrash; |
- |
// Report the error code that sel_ldr produces when starting a nexe. |
void ReportSelLdrLoadStatus(int status); |