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" | |
| 10 #include "base/trace_event/persistent_async_event.h" | |
| 11 | |
| 12 namespace base { | |
| 13 | |
| 14 namespace trace_event { | |
| 15 | |
| 16 // A persistent async event for video playback. | |
| 17 | |
|
charliea (OOO until 10-5)
2016/09/08 18:26:34
nit: please delete extra line
alexandermont
2016/09/14 00:09:08
Done
| |
| 18 class BASE_EXPORT VideoPlaybackPersistentAsyncEvent | |
| 19 : public PersistentAsyncEvent { | |
| 20 public: | |
| 21 VideoPlaybackPersistentAsyncEvent(); | |
| 22 ~VideoPlaybackPersistentAsyncEvent() override; | |
| 23 | |
| 24 protected: | |
| 25 void RecordBeginEvent() override; | |
| 26 void RecordBeginEventWithTimestamp(base::TimeTicks timestamp) override; | |
| 27 void RecordEndEvent() override; | |
| 28 }; | |
| 29 | |
| 30 } // namespace trace_event | |
| 31 } // namespace base | |
| 32 | |
| 33 #endif // BASE_TRACE_EVENT_VIDEO_PERSISTENT_ASYNC_H_ | |
| OLD | NEW |