OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ENCODING_EVENT_SUBSCRIBER_H_ | 5 #ifndef MEDIA_CAST_LOGGING_ENCODING_EVENT_SUBSCRIBER_H_ |
6 #define MEDIA_CAST_LOGGING_ENCODING_EVENT_SUBSCRIBER_H_ | 6 #define MEDIA_CAST_LOGGING_ENCODING_EVENT_SUBSCRIBER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
11 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
12 #include "media/cast/logging/logging_defines.h" | 13 #include "media/cast/logging/logging_defines.h" |
13 #include "media/cast/logging/proto/raw_events.pb.h" | 14 #include "media/cast/logging/proto/raw_events.pb.h" |
14 #include "media/cast/logging/raw_event_subscriber.h" | 15 #include "media/cast/logging/raw_event_subscriber.h" |
15 | 16 |
16 namespace media { | 17 namespace media { |
17 namespace cast { | 18 namespace cast { |
18 | 19 |
19 // Number of packets per frame recorded by the subscriber. | 20 // Number of packets per frame recorded by the subscriber. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // Set to RTP timestamp of first event encountered after a |Reset()|. | 114 // Set to RTP timestamp of first event encountered after a |Reset()|. |
114 RtpTimestamp first_rtp_timestamp_; | 115 RtpTimestamp first_rtp_timestamp_; |
115 | 116 |
116 DISALLOW_COPY_AND_ASSIGN(EncodingEventSubscriber); | 117 DISALLOW_COPY_AND_ASSIGN(EncodingEventSubscriber); |
117 }; | 118 }; |
118 | 119 |
119 } // namespace cast | 120 } // namespace cast |
120 } // namespace media | 121 } // namespace media |
121 | 122 |
122 #endif // MEDIA_CAST_LOGGING_ENCODING_EVENT_SUBSCRIBER_H_ | 123 #endif // MEDIA_CAST_LOGGING_ENCODING_EVENT_SUBSCRIBER_H_ |
OLD | NEW |