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

Side by Side Diff: media/cast/logging/logging_impl.h

Issue 196433002: Cast: Log sender side packet events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #ifndef MEDIA_CAST_LOGGING_LOGGING_IMPL_H_ 4 #ifndef MEDIA_CAST_LOGGING_LOGGING_IMPL_H_
5 #define MEDIA_CAST_LOGGING_LOGGING_IMPL_H_ 5 #define MEDIA_CAST_LOGGING_LOGGING_IMPL_H_
6 6
7 // Generic class that handles event logging for the cast library. 7 // Generic class that handles event logging for the cast library.
8 // Logging has three possible optional forms: 8 // Logging has three possible optional forms:
9 // 1. Raw data and stats accessible by the application. 9 // 1. Raw data and stats accessible by the application.
10 // 2. Tracing of raw events. 10 // 2. Tracing of raw events.
(...skipping 21 matching lines...) Expand all
32 uint32 frame_id); 32 uint32 frame_id);
33 33
34 void InsertFrameEventWithSize(const base::TimeTicks& time_of_event, 34 void InsertFrameEventWithSize(const base::TimeTicks& time_of_event,
35 CastLoggingEvent event, uint32 rtp_timestamp, 35 CastLoggingEvent event, uint32 rtp_timestamp,
36 uint32 frame_id, int frame_size); 36 uint32 frame_id, int frame_size);
37 37
38 void InsertFrameEventWithDelay(const base::TimeTicks& time_of_event, 38 void InsertFrameEventWithDelay(const base::TimeTicks& time_of_event,
39 CastLoggingEvent event, uint32 rtp_timestamp, 39 CastLoggingEvent event, uint32 rtp_timestamp,
40 uint32 frame_id, base::TimeDelta delay); 40 uint32 frame_id, base::TimeDelta delay);
41 41
42 void InsertSinglePacketEvent(const base::TimeTicks& time_of_event,
43 CastLoggingEvent event,
44 const Packet& packet);
45
42 void InsertPacketListEvent(const base::TimeTicks& time_of_event, 46 void InsertPacketListEvent(const base::TimeTicks& time_of_event,
43 CastLoggingEvent event, const PacketList& packets); 47 CastLoggingEvent event, const PacketList& packets);
44 48
45 void InsertPacketEvent(const base::TimeTicks& time_of_event, 49 void InsertPacketEvent(const base::TimeTicks& time_of_event,
46 CastLoggingEvent event, uint32 rtp_timestamp, 50 CastLoggingEvent event, uint32 rtp_timestamp,
47 uint32 frame_id, uint16 packet_id, 51 uint32 frame_id, uint16 packet_id,
48 uint16 max_packet_id, size_t size); 52 uint16 max_packet_id, size_t size);
49 53
50 void InsertGenericEvent(const base::TimeTicks& time_of_event, 54 void InsertGenericEvent(const base::TimeTicks& time_of_event,
51 CastLoggingEvent event, int value); 55 CastLoggingEvent event, int value);
(...skipping 19 matching lines...) Expand all
71 LoggingRaw raw_; 75 LoggingRaw raw_;
72 LoggingStats stats_; 76 LoggingStats stats_;
73 77
74 DISALLOW_COPY_AND_ASSIGN(LoggingImpl); 78 DISALLOW_COPY_AND_ASSIGN(LoggingImpl);
75 }; 79 };
76 80
77 } // namespace cast 81 } // namespace cast
78 } // namespace media 82 } // namespace media
79 83
80 #endif // MEDIA_CAST_LOGGING_LOGGING_IMPL_H_ 84 #endif // MEDIA_CAST_LOGGING_LOGGING_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698