summaryrefslogtreecommitdiffstats
path: root/ppapi/api/private/ppb_nacl_private.idl
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-04 20:29:48 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-04 20:29:48 +0000
commita1f0c722f5eec45c6bcb210a04bac9db85f15428 (patch)
tree345cced52a8a57804c590ef61a4e8c31697befbc /ppapi/api/private/ppb_nacl_private.idl
parent384dab94378189487a123dd8c8e9b6a47d693b0f (diff)
downloadchromium_src-a1f0c722f5eec45c6bcb210a04bac9db85f15428.zip
chromium_src-a1f0c722f5eec45c6bcb210a04bac9db85f15428.tar.gz
chromium_src-a1f0c722f5eec45c6bcb210a04bac9db85f15428.tar.bz2
Pepper: Miscellaneous trusted plugin cleanup.
This removes some more unnecessary methods and moves some more UMA reporting out of the trusted plugin, reducing the total line count. It's a little awkward that we have to pass the max value of NaClErrorCode to the new reporting method, but it keeps that enum out of the public NaCl interface. BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/315753003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274898 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/private/ppb_nacl_private.idl')
-rw-r--r--ppapi/api/private/ppb_nacl_private.idl17
1 files changed, 9 insertions, 8 deletions
diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl
index be66bfd..d2b5b53 100644
--- a/ppapi/api/private/ppb_nacl_private.idl
+++ b/ppapi/api/private/ppb_nacl_private.idl
@@ -343,9 +343,6 @@ interface PPB_NaCl_Private {
/* Returns the NaCl readiness status for this instance. */
PP_NaClReadyState GetNaClReadyState([in] PP_Instance instance);
- /* Returns true if the plugin is an installed app. */
- PP_Bool GetIsInstalled([in] PP_Instance instance);
-
/* Returns the exit status of the plugin process. */
int32_t GetExitStatus([in] PP_Instance instance);
@@ -365,9 +362,8 @@ interface PPB_NaCl_Private {
/* Returns the size of the nexe. */
int64_t GetNexeSize([in] PP_Instance instance);
- /* Performs accounting for requesting the NaCl manifest at the given URL. */
+ /* Requests the NaCl manifest specified in the plugin arguments. */
void RequestNaClManifest([in] PP_Instance instance,
- [in] str_t manifest_url,
[in] PP_CompletionCallback callback);
PP_Var GetManifestBaseURL([in] PP_Instance instance);
@@ -379,9 +375,6 @@ interface PPB_NaCl_Private {
void ProcessNaClManifest([in] PP_Instance instance,
[in] str_t program_url);
- /* Returns the manifest url as passed as a plugin argument. */
- PP_Var GetManifestURLArgument([in] PP_Instance instance);
-
PP_Bool DevInterfacesEnabled([in] PP_Instance instance);
PP_Bool GetManifestProgramURL([in] PP_Instance instance,
@@ -431,4 +424,12 @@ interface PPB_NaCl_Private {
[in] str_t url,
[out] PP_NaClFileInfo file_info,
[in] PP_CompletionCallback callback);
+
+ /* Reports the status of sel_ldr for UMA reporting.
+ * |max_status| has to be provided because the implementation of this
+ * interface can't access the NaClErrorCode enum.
+ */
+ void ReportSelLdrStatus([in] PP_Instance instance,
+ [in] int32_t load_status,
+ [in] int32_t max_status);
};