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

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

Powered by Google App Engine
This is Rietveld 408576698