Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 BASE_TRACE_EVENT_VIDEO_PERSISTENT_ASYNC_H_ | |
| 6 #define BASE_TRACE_EVENT_VIDEO_PERSISTENT_ASYNC_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "base/time/time.h" | |
|
benjhayden
2016/08/30 04:17:24
Is this include still needed?
alexandermont
2016/08/30 19:01:22
Removed
| |
| 10 #include "base/trace_event/persistent_async_event.h" | |
| 11 #include "base/trace_event/trace_event.h" | |
|
benjhayden
2016/08/30 04:17:24
Is this include still needed?
alexandermont
2016/08/30 19:01:22
Removed
| |
| 12 | |
| 13 namespace base { | |
| 14 | |
| 15 namespace trace_event { | |
| 16 | |
| 17 // Class that provides a persistent async event for video playback. | |
| 18 | |
| 19 class BASE_EXPORT VideoPlaybackPersistentAsyncEvent | |
| 20 : public PersistentAsyncEvent { | |
| 21 public: | |
| 22 VideoPlaybackPersistentAsyncEvent(); | |
| 23 ~VideoPlaybackPersistentAsyncEvent() override; | |
| 24 | |
| 25 protected: | |
| 26 void RecordStartEvent() override; | |
| 27 void RecordStartEventWithTimestamp(int64_t timestamp) override; | |
| 28 void RecordStopEvent() override; | |
| 29 }; | |
| 30 | |
| 31 } // namespace trace_event | |
| 32 } // namespace base | |
| 33 | |
| 34 #endif // BASE_TRACE_EVENT_VIDEO_PERSISTENT_ASYNC_H_ | |
| OLD | NEW |