| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 PlatformTraceEventsAgent_h | 5 #ifndef PlatformTraceEventsAgent_h |
| 6 #define PlatformTraceEventsAgent_h | 6 #define PlatformTraceEventsAgent_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/heap/Heap.h" | 9 #include "platform/heap/Heap.h" |
| 10 #include "platform/instrumentation/tracing/TraceEvent.h" | |
| 11 | 10 |
| 12 namespace blink { | 11 namespace blink { |
| 13 | 12 |
| 14 namespace probe { | 13 namespace probe { |
| 15 class PlatformSendRequest; | 14 class PlatformSendRequest; |
| 16 } | 15 } |
| 17 | 16 |
| 18 class PLATFORM_EXPORT PlatformTraceEventsAgent | 17 class PLATFORM_EXPORT PlatformTraceEventsAgent |
| 19 : public GarbageCollected<PlatformTraceEventsAgent> { | 18 : public GarbageCollected<PlatformTraceEventsAgent> { |
| 20 public: | 19 public: |
| 21 DEFINE_INLINE_TRACE() {} | 20 DEFINE_INLINE_TRACE() {} |
| 22 | 21 |
| 23 void will(const probe::PlatformSendRequest&); | 22 void will(const probe::PlatformSendRequest&); |
| 24 void did(const probe::PlatformSendRequest&); | 23 void did(const probe::PlatformSendRequest&); |
| 25 }; | 24 }; |
| 26 | 25 |
| 27 } // namespace blink | 26 } // namespace blink |
| 28 | 27 |
| 29 #endif // !defined(PlatformTraceEventsAgent_h) | 28 #endif // !defined(PlatformTraceEventsAgent_h) |
| OLD | NEW |