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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.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
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
11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
13 13
14 #include <memory> 14 #include <memory>
15 #include <set> 15 #include <set>
16 #include <utility> 16 #include <utility>
17 #include <vector> 17 #include <vector>
18 18
19 #include "webrtc/api/optional.h"
19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
21 #include "webrtc/modules/rtp_rtcp/source/packet_loss_stats.h" 22 #include "webrtc/modules/rtp_rtcp/source/packet_loss_stats.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h" 23 #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtcp_sender.h" 24 #include "webrtc/modules/rtp_rtcp/source/rtcp_sender.h"
24 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" 25 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h"
25 #include "webrtc/rtc_base/criticalsection.h" 26 #include "webrtc/rtc_base/criticalsection.h"
26 #include "webrtc/rtc_base/gtest_prod_util.h" 27 #include "webrtc/rtc_base/gtest_prod_util.h"
27 #include "webrtc/rtc_base/optional.h"
28 28
29 namespace webrtc { 29 namespace webrtc {
30 30
31 class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp { 31 class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
32 public: 32 public:
33 explicit ModuleRtpRtcpImpl(const RtpRtcp::Configuration& configuration); 33 explicit ModuleRtpRtcpImpl(const RtpRtcp::Configuration& configuration);
34 34
35 // Returns the number of milliseconds until the module want a worker thread to 35 // Returns the number of milliseconds until the module want a worker thread to
36 // call Process. 36 // call Process.
37 int64_t TimeUntilNextProcess() override; 37 int64_t TimeUntilNextProcess() override;
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 PacketLossStats receive_loss_stats_; 351 PacketLossStats receive_loss_stats_;
352 352
353 // The processed RTT from RtcpRttStats. 353 // The processed RTT from RtcpRttStats.
354 rtc::CriticalSection critical_section_rtt_; 354 rtc::CriticalSection critical_section_rtt_;
355 int64_t rtt_ms_; 355 int64_t rtt_ms_;
356 }; 356 };
357 357
358 } // namespace webrtc 358 } // namespace webrtc
359 359
360 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 360 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_sender.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698