| 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 CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_TRACK_METRICS_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_TRACK_METRICS_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_TRACK_METRICS_H_ | 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_TRACK_METRICS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 private: | 90 private: |
| 91 // Make a unique ID for the given track, that is valid while the | 91 // Make a unique ID for the given track, that is valid while the |
| 92 // track object and the PeerConnection it is attached to both exist. | 92 // track object and the PeerConnection it is attached to both exist. |
| 93 uint64_t MakeUniqueId(const std::string& track, StreamType stream_type); | 93 uint64_t MakeUniqueId(const std::string& track, StreamType stream_type); |
| 94 | 94 |
| 95 typedef std::vector<std::unique_ptr<MediaStreamTrackMetricsObserver>> | 95 typedef std::vector<std::unique_ptr<MediaStreamTrackMetricsObserver>> |
| 96 ObserverVector; | 96 ObserverVector; |
| 97 ObserverVector observers_; | 97 ObserverVector observers_; |
| 98 | 98 |
| 99 webrtc::PeerConnectionInterface::IceConnectionState ice_state_; | 99 webrtc::PeerConnectionInterface::IceConnectionState ice_state_; |
| 100 |
| 101 DISALLOW_COPY_AND_ASSIGN(MediaStreamTrackMetrics); |
| 100 }; | 102 }; |
| 101 | 103 |
| 102 } // namespace | 104 } // namespace |
| 103 | 105 |
| 104 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_TRACK_METRICS_H_ | 106 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MEDIA_STREAM_TRACK_METRICS_H_ |
| OLD | NEW |