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

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

Issue 69603002: Incorporating logging into Cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean up Created 7 years, 1 month 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 | Annotate | Revision Log
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 4
5 #ifndef MEDIA_CAST_LOGGING_LOGGING_RAW_H_ 5 #ifndef MEDIA_CAST_LOGGING_LOGGING_RAW_H_
6 #define MEDIA_CAST_LOGGING_LOGGING_RAW_H_ 6 #define MEDIA_CAST_LOGGING_LOGGING_RAW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 uint32 rtp_timestamp, 44 uint32 rtp_timestamp,
45 uint8 frame_id, 45 uint8 frame_id,
46 base::TimeDelta delay); 46 base::TimeDelta delay);
47 47
48 // Insert a packet event. 48 // Insert a packet event.
49 void InsertPacketEvent(CastLoggingEvent event, 49 void InsertPacketEvent(CastLoggingEvent event,
50 uint32 rtp_timestamp, 50 uint32 rtp_timestamp,
51 uint8 frame_id, 51 uint8 frame_id,
52 uint16 packet_id, 52 uint16 packet_id,
53 uint16 max_packet_id, 53 uint16 max_packet_id,
54 int size); 54 size_t size);
55 55
56 void InsertGenericEvent(CastLoggingEvent event, int value); 56 void InsertGenericEvent(CastLoggingEvent event, int value);
57 57
58 // Get raw log data. 58 // Get raw log data.
59 FrameRawMap GetFrameData() const; 59 FrameRawMap GetFrameData() const;
60 PacketRawMap GetPacketData() const; 60 PacketRawMap GetPacketData() const;
61 GenericRawMap GetGenericData() const; 61 GenericRawMap GetGenericData() const;
62 62
63 63
64 // Reset all log data. 64 // Reset all log data.
(...skipping 11 matching lines...) Expand all
76 GenericRawMap generic_map_; 76 GenericRawMap generic_map_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(LoggingRaw); 78 DISALLOW_COPY_AND_ASSIGN(LoggingRaw);
79 }; 79 };
80 80
81 } // namespace cast 81 } // namespace cast
82 } // namespace media 82 } // namespace media
83 83
84 #endif // MEDIA_CAST_LOGGING_LOGGING_RAW_H_ 84 #endif // MEDIA_CAST_LOGGING_LOGGING_RAW_H_
85 85
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698