| Index: ppapi/thunk/ppb_instance_api.h
|
| diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h
|
| index cb524184eca320bd84810a97aad8076b54890fb0..4b40313781a11e847ba94026bccdfb6ec52fc288 100644
|
| --- a/ppapi/thunk/ppb_instance_api.h
|
| +++ b/ppapi/thunk/ppb_instance_api.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "ppapi/c/dev/ppb_console_dev.h"
|
| #include "ppapi/c/dev/ppb_text_input_dev.h"
|
| +#include "ppapi/c/dev/ppb_trace_event_dev.h"
|
| #include "ppapi/c/dev/ppb_url_util_dev.h"
|
| #include "ppapi/c/pp_bool.h"
|
| #include "ppapi/c/pp_completion_callback.h"
|
| @@ -148,6 +149,24 @@ class PPB_Instance_API {
|
| // Testing and URLUtil.
|
| virtual PP_Var GetDocumentURL(PP_Instance instance,
|
| PP_URLComponents_Dev* components) = 0;
|
| +
|
| + // Trace event.
|
| + virtual void* GetCategoryEnabled(PP_Instance instance,
|
| + const char* category_name) = 0;
|
| + virtual int32_t AddTraceEvent(PP_Instance instance,
|
| + int8_t phase,
|
| + const void* category_enabled,
|
| + const char* name,
|
| + uint64_t id,
|
| + uint32_t num_args,
|
| + const char* arg_names[],
|
| + const uint8_t arg_types[],
|
| + const uint64_t arg_values[],
|
| + int32_t threshold_begin_id,
|
| + int64_t threshold,
|
| + uint8_t flags) = 0;
|
| + virtual void SetThreadName(PP_Instance instance, const char* thread_name) = 0;
|
| +
|
| #if !defined(OS_NACL)
|
| // Content Decryptor.
|
| virtual void NeedKey(PP_Instance instance,
|
|
|