| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_SHARED_IMPL_PPB_TRACE_EVENT_IMPL_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPB_TRACE_EVENT_IMPL_H_ |
| 6 #define PPAPI_SHARED_IMPL_PPB_TRACE_EVENT_IMPL_H_ | 6 #define PPAPI_SHARED_IMPL_PPB_TRACE_EVENT_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "ppapi/c/dev/ppb_trace_event_dev.h" | 10 #include "ppapi/c/dev/ppb_trace_event_dev.h" |
| 9 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 10 #include "ppapi/shared_impl/ppapi_shared_export.h" | 12 #include "ppapi/shared_impl/ppapi_shared_export.h" |
| 11 | 13 |
| 12 namespace ppapi { | 14 namespace ppapi { |
| 13 | 15 |
| 14 // Contains the implementation of the PPB_Trace_Event_Dev functions. Since these | 16 // Contains the implementation of the PPB_Trace_Event_Dev functions. Since these |
| 15 // functions are to be run from whatever plugin process/thread in which they | 17 // functions are to be run from whatever plugin process/thread in which they |
| 16 // originated, the implementation lives in shared_impl. | 18 // originated, the implementation lives in shared_impl. |
| 17 // | 19 // |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 const uint8_t arg_types[], | 41 const uint8_t arg_types[], |
| 40 const uint64_t arg_values[], | 42 const uint64_t arg_values[], |
| 41 uint8_t flags); | 43 uint8_t flags); |
| 42 static int64_t Now(); | 44 static int64_t Now(); |
| 43 static void SetThreadName(const char* thread_name); | 45 static void SetThreadName(const char* thread_name); |
| 44 }; | 46 }; |
| 45 | 47 |
| 46 } // namespace ppapi | 48 } // namespace ppapi |
| 47 | 49 |
| 48 #endif // PPAPI_SHARED_IMPL_PPB_TRACE_EVENT_IMPL_H_ | 50 #endif // PPAPI_SHARED_IMPL_PPB_TRACE_EVENT_IMPL_H_ |
| OLD | NEW |