summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-13 19:40:43 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-13 19:40:43 +0000
commit468953b3ef45522178b43b82cbf8d2229aad7249 (patch)
tree84a4410e56aec6aec0c3a7f9274d9ee9e41c640a /ppapi/c
parent1abdf2024dc5dcfd92b1e3b687d6a8048e60eaad (diff)
downloadchromium_src-468953b3ef45522178b43b82cbf8d2229aad7249.zip
chromium_src-468953b3ef45522178b43b82cbf8d2229aad7249.tar.gz
chromium_src-468953b3ef45522178b43b82cbf8d2229aad7249.tar.bz2
Pepper: Refactor some coordinator histograms.
We have a bunch of histograms that log data at the same time as ReportTranslationFinished(), so we may as well move some of that logic out of the trusted plugin. We use a different time range for translation for other metrics, so I had to add a "HistogramTimeTranslate" method in addition to the existing ones for "small", "medium", and "large" times. BUG=239656 R=dmichael@chromium.org Review URL: https://codereview.chromium.org/307403005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_nacl_private.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/ppapi/c/private/ppb_nacl_private.h b/ppapi/c/private/ppb_nacl_private.h
index bc85bed..c695012 100644
--- a/ppapi/c/private/ppb_nacl_private.h
+++ b/ppapi/c/private/ppb_nacl_private.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_nacl_private.idl modified Thu Jun 5 08:59:03 2014. */
+/* From private/ppb_nacl_private.idl modified Fri Jun 6 10:38:50 2014. */
#ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
@@ -331,7 +331,12 @@ struct PPB_NaCl_Private_1_0 {
* the browser is in incognito mode, no notification will be delivered to
* the plugin.)
*/
- void (*ReportTranslationFinished)(PP_Instance instance, PP_Bool success);
+ void (*ReportTranslationFinished)(PP_Instance instance,
+ PP_Bool success,
+ int32_t opt_level,
+ int64_t pexe_size,
+ int64_t compile_time_us,
+ int64_t total_time_us);
/* Dispatch a progress event on the DOM element where the given instance is
* embedded.
*/