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

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

Issue 3011943002: Move optional.h to webrtc/api/ (Closed)
Patch Set: Created 3 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 | « webrtc/video/quality_threshold.h ('k') | webrtc/video/video_quality_test.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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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
11 #ifndef WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 11 #ifndef WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
12 #define WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 12 #define WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
13 13
14 #include <map> 14 #include <map>
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/api/optional.h"
17 #include "webrtc/call/video_receive_stream.h" 18 #include "webrtc/call/video_receive_stream.h"
18 #include "webrtc/common_types.h" 19 #include "webrtc/common_types.h"
19 #include "webrtc/common_video/include/frame_callback.h" 20 #include "webrtc/common_video/include/frame_callback.h"
20 #include "webrtc/modules/video_coding/include/video_coding_defines.h" 21 #include "webrtc/modules/video_coding/include/video_coding_defines.h"
21 #include "webrtc/rtc_base/criticalsection.h" 22 #include "webrtc/rtc_base/criticalsection.h"
22 #include "webrtc/rtc_base/moving_max_counter.h" 23 #include "webrtc/rtc_base/moving_max_counter.h"
23 #include "webrtc/rtc_base/optional.h"
24 #include "webrtc/rtc_base/rate_statistics.h" 24 #include "webrtc/rtc_base/rate_statistics.h"
25 #include "webrtc/rtc_base/ratetracker.h" 25 #include "webrtc/rtc_base/ratetracker.h"
26 #include "webrtc/rtc_base/thread_annotations.h" 26 #include "webrtc/rtc_base/thread_annotations.h"
27 #include "webrtc/video/quality_threshold.h" 27 #include "webrtc/video/quality_threshold.h"
28 #include "webrtc/video/report_block_stats.h" 28 #include "webrtc/video/report_block_stats.h"
29 #include "webrtc/video/stats_counter.h" 29 #include "webrtc/video/stats_counter.h"
30 #include "webrtc/video/video_stream_decoder.h" 30 #include "webrtc/video/video_stream_decoder.h"
31 31
32 namespace webrtc { 32 namespace webrtc {
33 33
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 VideoContentType last_content_type_ GUARDED_BY(&crit_); 178 VideoContentType last_content_type_ GUARDED_BY(&crit_);
179 rtc::Optional<int64_t> last_decoded_frame_time_ms_ GUARDED_BY(&crit_); 179 rtc::Optional<int64_t> last_decoded_frame_time_ms_ GUARDED_BY(&crit_);
180 // Mutable because calling Max() on MovingMaxCounter is not const. Yet it is 180 // Mutable because calling Max() on MovingMaxCounter is not const. Yet it is
181 // called from const GetStats(). 181 // called from const GetStats().
182 mutable rtc::MovingMaxCounter<TimingFrameInfo> timing_frame_info_counter_ 182 mutable rtc::MovingMaxCounter<TimingFrameInfo> timing_frame_info_counter_
183 GUARDED_BY(&crit_); 183 GUARDED_BY(&crit_);
184 }; 184 };
185 185
186 } // namespace webrtc 186 } // namespace webrtc
187 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 187 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/video/quality_threshold.h ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698