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

Side by Side Diff: webrtc/video/call_stats.h

Issue 1737013002: Reland of move ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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 | « webrtc/modules/video_render/video_render_internal_impl.cc ('k') | webrtc/video/call_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 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 16 matching lines...) Expand all
27 // CallStats keeps track of statistics for a call. 27 // CallStats keeps track of statistics for a call.
28 class CallStats : public Module { 28 class CallStats : public Module {
29 public: 29 public:
30 friend class RtcpObserver; 30 friend class RtcpObserver;
31 31
32 explicit CallStats(Clock* clock); 32 explicit CallStats(Clock* clock);
33 ~CallStats(); 33 ~CallStats();
34 34
35 // Implements Module, to use the process thread. 35 // Implements Module, to use the process thread.
36 int64_t TimeUntilNextProcess() override; 36 int64_t TimeUntilNextProcess() override;
37 int32_t Process() override; 37 void Process() override;
38 38
39 // Returns a RtcpRttStats to register at a statistics provider. The object 39 // Returns a RtcpRttStats to register at a statistics provider. The object
40 // has the same lifetime as the CallStats instance. 40 // has the same lifetime as the CallStats instance.
41 RtcpRttStats* rtcp_rtt_stats() const; 41 RtcpRttStats* rtcp_rtt_stats() const;
42 42
43 // Registers/deregisters a new observer to receive statistics updates. 43 // Registers/deregisters a new observer to receive statistics updates.
44 void RegisterStatsObserver(CallStatsObserver* observer); 44 void RegisterStatsObserver(CallStatsObserver* observer);
45 void DeregisterStatsObserver(CallStatsObserver* observer); 45 void DeregisterStatsObserver(CallStatsObserver* observer);
46 46
47 // Helper struct keeping track of the time a rtt value is reported. 47 // Helper struct keeping track of the time a rtt value is reported.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // Observers getting stats reports. 80 // Observers getting stats reports.
81 std::list<CallStatsObserver*> observers_; 81 std::list<CallStatsObserver*> observers_;
82 82
83 RTC_DISALLOW_COPY_AND_ASSIGN(CallStats); 83 RTC_DISALLOW_COPY_AND_ASSIGN(CallStats);
84 }; 84 };
85 85
86 } // namespace webrtc 86 } // namespace webrtc
87 87
88 #endif // WEBRTC_VIDEO_CALL_STATS_H_ 88 #endif // WEBRTC_VIDEO_CALL_STATS_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_render/video_render_internal_impl.cc ('k') | webrtc/video/call_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698