Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Unified Diff: ppapi/shared_impl/ppb_instance_shared.h

Issue 11464005: Add trace event Pepper API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Enable NaCl compilation Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/shared_impl/ppb_instance_shared.h
diff --git a/ppapi/shared_impl/ppb_instance_shared.h b/ppapi/shared_impl/ppb_instance_shared.h
index a1845d322314f6a8cd2a45c4b9a269c5276124c7..ad0726c66e641e9f8de7bfc15bed268febfed122 100644
--- a/ppapi/shared_impl/ppb_instance_shared.h
+++ b/ppapi/shared_impl/ppb_instance_shared.h
@@ -30,6 +30,22 @@ class PPAPI_SHARED_EXPORT PPB_Instance_Shared
// PP_OK if the given classes are all valid, PP_ERROR_NOTSUPPORTED if not.
int32_t ValidateRequestInputEvents(bool is_filtering, uint32_t event_classes);
+ void* GetCategoryEnabled(PP_Instance instance,
+ const char* category_name) OVERRIDE;
+ 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) OVERRIDE;
+ void SetThreadName(PP_Instance instance, const char* thread_name) OVERRIDE;
+
bool ValidateSetCursorParams(PP_MouseCursor_Type type,
PP_Resource image,
const PP_Point* hot_spot);

Powered by Google App Engine
This is Rietveld 408576698