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

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

Issue 2343563004: webrtc/api/rtcstats[report].h is moving to webrtc/api/stats/ (Closed)
Patch Set: Added dependency on rtc_stats_api for the headers Created 4 years, 3 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 | « content/renderer/BUILD.gn ('k') | content/renderer/media/webrtc/rtc_stats.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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_RTC_STATS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_RTC_STATS_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_RTC_STATS_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_RTC_STATS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/public/platform/WebRTCStats.h" 9 #include "third_party/WebKit/public/platform/WebRTCStats.h"
10 #include "third_party/webrtc/api/rtcstats.h" 10 #include "third_party/webrtc/api/stats/rtcstats.h"
11 #include "third_party/webrtc/api/rtcstatsreport.h" 11 #include "third_party/webrtc/api/stats/rtcstatsreport.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class RTCStatsReport : public blink::WebRTCStatsReport { 15 class RTCStatsReport : public blink::WebRTCStatsReport {
16 public: 16 public:
17 RTCStatsReport( 17 RTCStatsReport(
18 const scoped_refptr<const webrtc::RTCStatsReport>& stats_report); 18 const scoped_refptr<const webrtc::RTCStatsReport>& stats_report);
19 ~RTCStatsReport() override; 19 ~RTCStatsReport() override;
20 20
21 std::unique_ptr<blink::WebRTCStats> next() override; 21 std::unique_ptr<blink::WebRTCStats> next() override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 private: 73 private:
74 // Reference to keep the report that owns |member_|'s stats object alive. 74 // Reference to keep the report that owns |member_|'s stats object alive.
75 const scoped_refptr<const webrtc::RTCStatsReport> stats_owner_; 75 const scoped_refptr<const webrtc::RTCStatsReport> stats_owner_;
76 // Pointer to member of a stats object that is owned by |stats_owner_|. 76 // Pointer to member of a stats object that is owned by |stats_owner_|.
77 const webrtc::RTCStatsMemberInterface* const member_; 77 const webrtc::RTCStatsMemberInterface* const member_;
78 }; 78 };
79 79
80 } // namespace content 80 } // namespace content
81 81
82 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_RTC_STATS_H_ 82 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_RTC_STATS_H_
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/webrtc/rtc_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698