Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: base/trace_event/video_playback_pae.h

Issue 2159323002: Add tracing AutoOpenCloseEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review changes Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698