summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-04 19:04:00 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-04 19:04:00 +0000
commita5de4542ea36796ca647669a81a343f19e4827d8 (patch)
tree5efa736410030f9cddf372e2b056d9b1633c83d0 /ppapi/api
parent513357a535d3662b16e504d8145f9b708d233355 (diff)
downloadchromium_src-a5de4542ea36796ca647669a81a343f19e4827d8.zip
chromium_src-a5de4542ea36796ca647669a81a343f19e4827d8.tar.gz
chromium_src-a5de4542ea36796ca647669a81a343f19e4827d8.tar.bz2
Pepper: Move NexeDidCrash() to NexeLoadManager.
This change pulls more code out of ppapi/native_client to compnents/nacl/renderer. GetReadyTime() is removed from PPB_NaCl_Private here to simplify time management. I don't want to mix time math from Chrome and NaCl, so plugin.cc uses its own ready_time_ for some operations again, and SetReadyTime() stashes the current value of base::Time::Now in NexeLoadManager. BUG=239656 Review URL: https://codereview.chromium.org/216103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/private/ppb_nacl_private.idl15
1 files changed, 4 insertions, 11 deletions
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl
index 5bdeebc..e3e4211 100644
--- a/ppapi/api/private/ppb_nacl_private.idl
+++ b/ppapi/api/private/ppb_nacl_private.idl
@@ -291,9 +291,9 @@ interface PPB_NaCl_Private {
/* Reports that loading a nexe was aborted. */
void ReportLoadAbort([in] PP_Instance instance);
- /* Reports that the nexe has crashed or is otherwise dead. */
- void ReportDeadNexe([in] PP_Instance instance,
- [in] int64_t crash_time);
+ /* Reports that the nexe has crashed. */
+ void NexeDidCrash([in] PP_Instance instance,
+ [in] str_t crash_log);
/* Performs internal setup when an instance is created. */
void InstanceCreated([in] PP_Instance instance);
@@ -318,9 +318,6 @@ interface PPB_NaCl_Private {
void LogToConsole([in] PP_Instance instance,
[in] str_t message);
- /* Returns PP_TRUE if an error has been reported loading the nexe. */
- PP_Bool GetNexeErrorReported([in] PP_Instance instance);
-
/* Returns the NaCl readiness status for this instance. */
PP_NaClReadyState GetNaClReadyState([in] PP_Instance instance);
@@ -335,12 +332,8 @@ interface PPB_NaCl_Private {
void SetIsInstalled([in] PP_Instance instance,
[in] PP_Bool is_installed);
- /* Returns the time the nexe became ready. */
- int64_t GetReadyTime([in] PP_Instance instance);
-
/* Sets the time the nexe became ready. */
- void SetReadyTime([in] PP_Instance instance,
- [in] int64_t ready_time);
+ void SetReadyTime([in] PP_Instance instance);
/* Returns the exit status of the plugin process. */
int32_t GetExitStatus([in] PP_Instance instance);