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

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"
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698