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/trace_event/persistent_async_event.h" | |
10 | |
11 namespace base { | |
12 | |
13 namespace trace_event { | |
14 | |
15 // Class that provides a persistent async event for video playback. | |
charliea (OOO until 10-5)
2016/08/31 17:30:38
I think "Class that..." class headers are generall
alexandermont
2016/08/31 18:31:59
Done
| |
16 | |
17 class BASE_EXPORT VideoPlaybackPersistentAsyncEvent | |
charliea (OOO until 10-5)
2016/08/31 17:30:38
+oysteine@chromium.org, fmeawad@chromium.org
What
alexandermont
2016/08/31 18:31:59
I think that could be a good idea. Let's wait for
charliea (OOO until 10-5)
2016/09/02 19:24:42
(Pinged them directly about this)
oystein (OOO til 10th of July)
2016/09/02 19:55:00
Hrm, I don't think base/trace_event should referen
benjhayden
2016/09/02 20:47:30
The base PersistentAsyncEvent is the generalizatio
| |
18 : public PersistentAsyncEvent { | |
19 public: | |
20 VideoPlaybackPersistentAsyncEvent(); | |
21 ~VideoPlaybackPersistentAsyncEvent() override; | |
22 | |
23 protected: | |
24 void RecordStartEvent() override; | |
25 void RecordStartEventWithTimestamp(int64_t timestamp) override; | |
26 void RecordStopEvent() override; | |
27 }; | |
28 | |
29 } // namespace trace_event | |
30 } // namespace base | |
31 | |
32 #endif // BASE_TRACE_EVENT_VIDEO_PERSISTENT_ASYNC_H_ | |
OLD | NEW |