Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SKIA_EXT_TRACE_EVENT_H_ | |
|
nduca
2014/02/04 01:15:19
unless skia/ folder has its own subclassing conven
humper
2014/02/04 19:58:08
Done.
| |
| 6 #define SKIA_EXT_TRACE_EVENT_H_ | |
| 7 | |
| 8 #include "third_party/skia/include/utils/SkEventTracer.h" | |
| 9 | |
| 10 namespace skia { | |
| 11 | |
| 12 class SkChromiumEventTracer: public SkEventTracer { | |
| 13 virtual const uint8_t* getCategoryGroupEnabled(const char* name); | |
| 14 virtual const char* getCategoryGroupName( | |
| 15 const uint8_t* categoryEnabledFlag); | |
| 16 virtual SkEventTracer::Handle | |
| 17 addTraceEvent(char phase, | |
| 18 const uint8_t* categoryEnabledFlag, | |
| 19 const char* name, | |
| 20 uint64_t id, | |
| 21 int32_t numArgs, | |
| 22 const char** argNames, | |
| 23 const uint8_t* argTypes, | |
| 24 const uint64_t* argValues, | |
| 25 uint8_t flags); | |
| 26 virtual void | |
| 27 updateTraceEventDuration(const uint8_t* categoryEnabledFlag, | |
| 28 const char *name, | |
| 29 SkEventTracer::Handle handle); | |
| 30 }; | |
| 31 | |
| 32 } // namespace skia | |
| 33 | |
| 34 #endif // SKIA_EXT_TRACE_EVENT_H_ | |
| OLD | NEW |