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

Side by Side Diff: content/renderer/media/webrtc/media_stream_track_metrics.h

Issue 2712913003: Mark MediaStreamTrackMetrics DISALLOW_COPY_AND_ASSIGN (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698