From 4485ffb58dbc6b446f624656ebb58907e71c884a Mon Sep 17 00:00:00 2001 From: kwiberg Date: Tue, 26 Apr 2016 08:14:39 -0700 Subject: [PATCH] #include "webrtc/base/constructormagic.h" where appropriate Any file that uses the RTC_DISALLOW_* macros should #include "webrtc/base/constructormagic.h", but a shocking number of them don't. This causes trouble when we try to wean files off of #including scoped_ptr.h, since a bunch of files get their constructormagic macros only from there. Rather than fixing these errors one by one as they turn up, this CL simply ensures that every file in the WebRTC tree that uses the RTC_DISALLOW_* macros #includes "webrtc/base/constructormagic.h". BUG=webrtc:5520 Review URL: https://codereview.webrtc.org/1917043005 Cr-Commit-Position: refs/heads/master@{#12509} --- webrtc/api/audiotrack.h | 1 + webrtc/api/dtmfsender.h | 1 + webrtc/api/java/jni/androidvideocapturer_jni.h | 1 + webrtc/api/jsepsessiondescription.h | 1 + webrtc/api/mediacontroller.cc | 1 + webrtc/api/remoteaudiosource.cc | 1 + webrtc/api/statstypes.h | 1 + webrtc/api/webrtcsession.h | 1 + webrtc/api/webrtcsessiondescriptionfactory.h | 1 + webrtc/audio/audio_receive_stream.h | 1 + webrtc/audio/audio_send_stream.h | 1 + webrtc/base/asyncinvoker.h | 1 + webrtc/base/asyncpacketsocket.h | 1 + webrtc/base/asynctcpsocket.h | 1 + webrtc/base/bufferqueue.h | 1 + webrtc/base/fileutils.h | 1 + webrtc/base/flags.h | 1 + webrtc/base/latebindingsymboltable.h | 1 + webrtc/base/macasyncsocket.h | 1 + webrtc/base/maccocoasocketserver.h | 1 + webrtc/base/multipart.h | 1 + webrtc/base/natserver.h | 1 + webrtc/base/natsocketfactory.h | 1 + webrtc/base/opensslidentity.h | 1 + webrtc/base/profiler.h | 1 + webrtc/base/proxyserver.h | 1 + webrtc/base/referencecountedsingletonfactory.h | 1 + webrtc/base/rollingaccumulator.h | 1 + webrtc/base/scoped_autorelease_pool.h | 1 + webrtc/base/scopedptrcollection_unittest.cc | 1 + webrtc/base/signalthread_unittest.cc | 1 + webrtc/base/socketadapters.h | 1 + webrtc/base/socketstream.h | 1 + webrtc/base/sslidentity.h | 1 + webrtc/base/stream.h | 1 + webrtc/base/swap_queue.h | 1 + webrtc/base/task_unittest.cc | 1 + webrtc/base/testclient.h | 1 + webrtc/base/testechoserver.h | 1 + webrtc/base/thread_checker_unittest.cc | 1 + webrtc/base/virtualsocketserver.h | 1 + webrtc/call/call.cc | 1 + webrtc/call/ringbuffer.h | 1 + webrtc/common.h | 1 + webrtc/libjingle/xmpp/pubsubstateclient.h | 1 + webrtc/libjingle/xmpp/xmpptask.h | 1 + webrtc/media/base/rtpdump.h | 1 + webrtc/media/base/videoadapter.h | 1 + webrtc/media/base/videocapturer.h | 1 + webrtc/media/engine/webrtcvoiceengine.cc | 1 + webrtc/media/engine/webrtcvoiceengine.h | 1 + .../audio_coding/codecs/cng/audio_encoder_cng_unittest.cc | 1 + webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h | 1 + webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h | 1 + webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h | 1 + webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h | 1 + webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t.h | 1 + webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h | 1 + webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h | 1 + .../modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h | 1 + webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h | 1 + webrtc/modules/audio_processing/aec/aec_core_internal.h | 1 + webrtc/modules/audio_processing/echo_control_mobile_impl.cc | 1 + webrtc/modules/audio_processing/gain_control_impl.cc | 1 + webrtc/modules/audio_processing/noise_suppression_impl.cc | 1 + webrtc/modules/audio_processing/voice_detection_impl.cc | 1 + webrtc/modules/bitrate_controller/bitrate_controller_impl.h | 1 + webrtc/modules/congestion_controller/congestion_controller.cc | 1 + .../congestion_controller/include/congestion_controller.h | 1 + .../include/mock/mock_congestion_controller.h | 1 + webrtc/modules/desktop_capture/cropped_desktop_frame.cc | 2 ++ webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc | 1 + webrtc/modules/desktop_capture/desktop_and_cursor_composer.h | 1 + webrtc/modules/desktop_capture/desktop_frame.h | 1 + webrtc/modules/desktop_capture/desktop_frame_win.h | 1 + webrtc/modules/desktop_capture/differ.h | 1 + webrtc/modules/desktop_capture/differ_unittest.cc | 1 + .../modules/desktop_capture/mac/desktop_configuration_monitor.h | 1 + .../desktop_capture/mac/full_screen_chrome_window_detector.h | 1 + webrtc/modules/desktop_capture/screen_capturer_helper.h | 1 + webrtc/modules/desktop_capture/screen_capturer_mac.mm | 1 + webrtc/modules/desktop_capture/screen_capturer_mock_objects.h | 1 + webrtc/modules/desktop_capture/screen_capturer_unittest.cc | 1 + webrtc/modules/desktop_capture/screen_capturer_x11.cc | 1 + webrtc/modules/desktop_capture/shared_desktop_frame.cc | 1 + webrtc/modules/desktop_capture/shared_desktop_frame.h | 1 + webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h | 1 + webrtc/modules/desktop_capture/win/window_capture_utils.h | 1 + webrtc/modules/desktop_capture/window_capturer_mac.mm | 1 + webrtc/modules/desktop_capture/window_capturer_null.cc | 1 + webrtc/modules/desktop_capture/window_capturer_win.cc | 1 + webrtc/modules/desktop_capture/window_capturer_x11.cc | 1 + webrtc/modules/desktop_capture/x11/shared_x_display.h | 1 + webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h | 1 + webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc | 1 + .../remote_bitrate_estimator_abs_send_time.h | 1 + .../remote_bitrate_estimator_single_stream.h | 1 + .../remote_bitrate_estimator/remote_bitrate_estimators_test.cc | 1 + webrtc/modules/remote_bitrate_estimator/test/bwe.cc | 1 + webrtc/modules/remote_bitrate_estimator/test/bwe.h | 1 + .../modules/remote_bitrate_estimator/test/bwe_test_framework.cc | 2 ++ .../modules/remote_bitrate_estimator/test/bwe_test_framework.h | 1 + webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h | 1 + webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h | 1 + .../remote_bitrate_estimator/test/estimators/send_side.h | 1 + webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h | 1 + webrtc/modules/rtp_rtcp/include/rtp_rtcp.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h | 1 + .../rtp_rtcp/source/rtcp_packet/extended_jitter_report.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h | 1 + .../modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h | 1 + webrtc/modules/rtp_rtcp/source/rtcp_sender.cc | 1 + webrtc/modules/rtp_rtcp/source/rtcp_sender.h | 1 + webrtc/modules/rtp_rtcp/source/rtp_format_h264.h | 1 + webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h | 1 + webrtc/modules/rtp_rtcp/source/rtp_packet.h | 1 + webrtc/modules/rtp_rtcp/source/rtp_sender.h | 1 + webrtc/modules/video_coding/test/rtp_player.cc | 1 + webrtc/modules/video_coding/test/stream_generator.h | 1 + webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc | 1 + webrtc/p2p/base/asyncstuntcpsocket.h | 1 + webrtc/p2p/base/dtlstransportchannel.h | 1 + webrtc/p2p/base/p2ptransport.h | 2 ++ webrtc/p2p/base/p2ptransportchannel.h | 2 ++ webrtc/p2p/base/transport.h | 2 ++ webrtc/p2p/base/transportchannel.h | 1 + webrtc/p2p/base/transportchannelimpl.h | 2 ++ webrtc/p2p/quic/quictransportchannel.h | 1 + webrtc/p2p/stunprober/stunprober.cc | 1 + webrtc/p2p/stunprober/stunprober.h | 1 + webrtc/pc/srtpfilter.h | 1 + webrtc/pc/srtpfilter_unittest.cc | 1 + webrtc/test/rtp_file_reader.cc | 1 + webrtc/video/call_stats.cc | 1 + webrtc/video/vie_receiver.h | 1 + 147 files changed, 153 insertions(+) diff --git a/webrtc/api/audiotrack.h b/webrtc/api/audiotrack.h index e7ffee5d83..7fde9b3e22 100644 --- a/webrtc/api/audiotrack.h +++ b/webrtc/api/audiotrack.h @@ -16,6 +16,7 @@ #include "webrtc/api/mediastreaminterface.h" #include "webrtc/api/mediastreamtrack.h" #include "webrtc/api/notifier.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/base/thread_checker.h" diff --git a/webrtc/api/dtmfsender.h b/webrtc/api/dtmfsender.h index 2523d6863c..e2c6735874 100644 --- a/webrtc/api/dtmfsender.h +++ b/webrtc/api/dtmfsender.h @@ -17,6 +17,7 @@ #include "webrtc/api/mediastreaminterface.h" #include "webrtc/api/proxy.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/messagehandler.h" #include "webrtc/base/refcount.h" diff --git a/webrtc/api/java/jni/androidvideocapturer_jni.h b/webrtc/api/java/jni/androidvideocapturer_jni.h index 1531fccc0c..53f180338c 100644 --- a/webrtc/api/java/jni/androidvideocapturer_jni.h +++ b/webrtc/api/java/jni/androidvideocapturer_jni.h @@ -16,6 +16,7 @@ #include "webrtc/api/androidvideocapturer.h" #include "webrtc/api/java/jni/jni_helpers.h" #include "webrtc/base/asyncinvoker.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/thread_checker.h" #include "webrtc/common_video/include/i420_buffer_pool.h" diff --git a/webrtc/api/jsepsessiondescription.h b/webrtc/api/jsepsessiondescription.h index ca39b8a675..d4b4908b23 100644 --- a/webrtc/api/jsepsessiondescription.h +++ b/webrtc/api/jsepsessiondescription.h @@ -18,6 +18,7 @@ #include "webrtc/api/jsep.h" #include "webrtc/api/jsepicecandidate.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/p2p/base/candidate.h" diff --git a/webrtc/api/mediacontroller.cc b/webrtc/api/mediacontroller.cc index 71964d52a7..e276e0cdd5 100644 --- a/webrtc/api/mediacontroller.cc +++ b/webrtc/api/mediacontroller.cc @@ -12,6 +12,7 @@ #include "webrtc/base/bind.h" #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/call.h" #include "webrtc/pc/channelmanager.h" #include "webrtc/media/base/mediachannel.h" diff --git a/webrtc/api/remoteaudiosource.cc b/webrtc/api/remoteaudiosource.cc index 2fedc9d0f9..23cd65cbd8 100644 --- a/webrtc/api/remoteaudiosource.cc +++ b/webrtc/api/remoteaudiosource.cc @@ -16,6 +16,7 @@ #include "webrtc/api/mediastreamprovider.h" #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/logging.h" #include "webrtc/base/thread.h" diff --git a/webrtc/api/statstypes.h b/webrtc/api/statstypes.h index 7efd0fe38a..9e1c068217 100644 --- a/webrtc/api/statstypes.h +++ b/webrtc/api/statstypes.h @@ -21,6 +21,7 @@ #include "webrtc/base/basictypes.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/linked_ptr.h" #include "webrtc/base/refcount.h" #include "webrtc/base/scoped_ptr.h" diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h index 1444345a43..08938fc9f6 100644 --- a/webrtc/api/webrtcsession.h +++ b/webrtc/api/webrtcsession.h @@ -22,6 +22,7 @@ #include "webrtc/api/mediastreamprovider.h" #include "webrtc/api/peerconnectioninterface.h" #include "webrtc/api/statstypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/sigslot.h" #include "webrtc/base/sslidentity.h" #include "webrtc/base/thread.h" diff --git a/webrtc/api/webrtcsessiondescriptionfactory.h b/webrtc/api/webrtcsessiondescriptionfactory.h index 68d696a57b..8d04bf1d17 100644 --- a/webrtc/api/webrtcsessiondescriptionfactory.h +++ b/webrtc/api/webrtcsessiondescriptionfactory.h @@ -15,6 +15,7 @@ #include "webrtc/api/dtlsidentitystore.h" #include "webrtc/api/peerconnectioninterface.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/messagehandler.h" #include "webrtc/base/rtccertificate.h" #include "webrtc/p2p/base/transportdescriptionfactory.h" diff --git a/webrtc/audio/audio_receive_stream.h b/webrtc/audio/audio_receive_stream.h index c9754afbf5..37117427a1 100644 --- a/webrtc/audio/audio_receive_stream.h +++ b/webrtc/audio/audio_receive_stream.h @@ -15,6 +15,7 @@ #include "webrtc/audio_receive_stream.h" #include "webrtc/audio_state.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/thread_checker.h" #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" diff --git a/webrtc/audio/audio_send_stream.h b/webrtc/audio/audio_send_stream.h index d463b3da30..183ad88189 100644 --- a/webrtc/audio/audio_send_stream.h +++ b/webrtc/audio/audio_send_stream.h @@ -15,6 +15,7 @@ #include "webrtc/audio_send_stream.h" #include "webrtc/audio_state.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/thread_checker.h" namespace webrtc { diff --git a/webrtc/base/asyncinvoker.h b/webrtc/base/asyncinvoker.h index a35133706a..76e5d922e6 100644 --- a/webrtc/base/asyncinvoker.h +++ b/webrtc/base/asyncinvoker.h @@ -13,6 +13,7 @@ #include "webrtc/base/asyncinvoker-inl.h" #include "webrtc/base/bind.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/sigslot.h" #include "webrtc/base/scopedptrcollection.h" #include "webrtc/base/thread.h" diff --git a/webrtc/base/asyncpacketsocket.h b/webrtc/base/asyncpacketsocket.h index 949ec67c83..f18839ed37 100644 --- a/webrtc/base/asyncpacketsocket.h +++ b/webrtc/base/asyncpacketsocket.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_BASE_ASYNCPACKETSOCKET_H_ #define WEBRTC_BASE_ASYNCPACKETSOCKET_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/base/dscp.h" #include "webrtc/base/sigslot.h" #include "webrtc/base/socket.h" diff --git a/webrtc/base/asynctcpsocket.h b/webrtc/base/asynctcpsocket.h index af0410f8f2..cd5c104d88 100644 --- a/webrtc/base/asynctcpsocket.h +++ b/webrtc/base/asynctcpsocket.h @@ -15,6 +15,7 @@ #include "webrtc/base/asyncpacketsocket.h" #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/socketfactory.h" namespace rtc { diff --git a/webrtc/base/bufferqueue.h b/webrtc/base/bufferqueue.h index 623d85a384..bc9fc842db 100644 --- a/webrtc/base/bufferqueue.h +++ b/webrtc/base/bufferqueue.h @@ -15,6 +15,7 @@ #include #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" namespace rtc { diff --git a/webrtc/base/fileutils.h b/webrtc/base/fileutils.h index a59e97ef48..23d36b15f4 100644 --- a/webrtc/base/fileutils.h +++ b/webrtc/base/fileutils.h @@ -23,6 +23,7 @@ #include "webrtc/base/basictypes.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/platform_file.h" namespace rtc { diff --git a/webrtc/base/flags.h b/webrtc/base/flags.h index 4ce857b74a..d16f12bad6 100644 --- a/webrtc/base/flags.h +++ b/webrtc/base/flags.h @@ -27,6 +27,7 @@ #include "webrtc/base/checks.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" namespace rtc { diff --git a/webrtc/base/latebindingsymboltable.h b/webrtc/base/latebindingsymboltable.h index 636e7d0707..794a4ab5a8 100644 --- a/webrtc/base/latebindingsymboltable.h +++ b/webrtc/base/latebindingsymboltable.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" namespace rtc { diff --git a/webrtc/base/macasyncsocket.h b/webrtc/base/macasyncsocket.h index 5861ee3276..c0f57b948c 100644 --- a/webrtc/base/macasyncsocket.h +++ b/webrtc/base/macasyncsocket.h @@ -19,6 +19,7 @@ #include #include "webrtc/base/asyncsocket.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/nethelpers.h" namespace rtc { diff --git a/webrtc/base/maccocoasocketserver.h b/webrtc/base/maccocoasocketserver.h index 0acf8d757a..3e07a452e6 100644 --- a/webrtc/base/maccocoasocketserver.h +++ b/webrtc/base/maccocoasocketserver.h @@ -13,6 +13,7 @@ #ifndef WEBRTC_BASE_MACCOCOASOCKETSERVER_H_ #define WEBRTC_BASE_MACCOCOASOCKETSERVER_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/base/macsocketserver.h" #ifdef __OBJC__ diff --git a/webrtc/base/multipart.h b/webrtc/base/multipart.h index a099230cc5..9ae3ca2adf 100644 --- a/webrtc/base/multipart.h +++ b/webrtc/base/multipart.h @@ -14,6 +14,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/sigslot.h" #include "webrtc/base/stream.h" diff --git a/webrtc/base/natserver.h b/webrtc/base/natserver.h index b6a02feca3..460518bd2e 100644 --- a/webrtc/base/natserver.h +++ b/webrtc/base/natserver.h @@ -15,6 +15,7 @@ #include #include "webrtc/base/asyncudpsocket.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/socketaddresspair.h" #include "webrtc/base/thread.h" #include "webrtc/base/socketfactory.h" diff --git a/webrtc/base/natsocketfactory.h b/webrtc/base/natsocketfactory.h index 82c2a87eb0..6fad30c560 100644 --- a/webrtc/base/natsocketfactory.h +++ b/webrtc/base/natsocketfactory.h @@ -16,6 +16,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/natserver.h" #include "webrtc/base/socketaddress.h" #include "webrtc/base/socketserver.h" diff --git a/webrtc/base/opensslidentity.h b/webrtc/base/opensslidentity.h index 332da1803c..823f5388ae 100644 --- a/webrtc/base/opensslidentity.h +++ b/webrtc/base/opensslidentity.h @@ -18,6 +18,7 @@ #include #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/sslidentity.h" typedef struct ssl_ctx_st SSL_CTX; diff --git a/webrtc/base/profiler.h b/webrtc/base/profiler.h index 419763fc8a..4dd35f5bac 100644 --- a/webrtc/base/profiler.h +++ b/webrtc/base/profiler.h @@ -36,6 +36,7 @@ #include "webrtc/base/basictypes.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/logging.h" #include "webrtc/base/sharedexclusivelock.h" diff --git a/webrtc/base/proxyserver.h b/webrtc/base/proxyserver.h index 5dfa37ceb6..86007c3606 100644 --- a/webrtc/base/proxyserver.h +++ b/webrtc/base/proxyserver.h @@ -14,6 +14,7 @@ #include #include #include "webrtc/base/asyncsocket.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/socketadapters.h" #include "webrtc/base/socketaddress.h" #include "webrtc/base/stream.h" diff --git a/webrtc/base/referencecountedsingletonfactory.h b/webrtc/base/referencecountedsingletonfactory.h index 1a41695df7..500150f6fd 100644 --- a/webrtc/base/referencecountedsingletonfactory.h +++ b/webrtc/base/referencecountedsingletonfactory.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/logging.h" diff --git a/webrtc/base/rollingaccumulator.h b/webrtc/base/rollingaccumulator.h index 0c8e5fb8bd..72415ad758 100644 --- a/webrtc/base/rollingaccumulator.h +++ b/webrtc/base/rollingaccumulator.h @@ -15,6 +15,7 @@ #include #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" namespace rtc { diff --git a/webrtc/base/scoped_autorelease_pool.h b/webrtc/base/scoped_autorelease_pool.h index 9aac112793..808231b5d2 100644 --- a/webrtc/base/scoped_autorelease_pool.h +++ b/webrtc/base/scoped_autorelease_pool.h @@ -23,6 +23,7 @@ #if defined(WEBRTC_MAC) #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" // This header may be included from Obj-C files or C++ files. #ifdef __OBJC__ diff --git a/webrtc/base/scopedptrcollection_unittest.cc b/webrtc/base/scopedptrcollection_unittest.cc index 267b110aae..929fd0f324 100644 --- a/webrtc/base/scopedptrcollection_unittest.cc +++ b/webrtc/base/scopedptrcollection_unittest.cc @@ -10,6 +10,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scopedptrcollection.h" #include "webrtc/base/gunit.h" diff --git a/webrtc/base/signalthread_unittest.cc b/webrtc/base/signalthread_unittest.cc index 22d65b6c02..57190128c5 100644 --- a/webrtc/base/signalthread_unittest.cc +++ b/webrtc/base/signalthread_unittest.cc @@ -10,6 +10,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/gunit.h" #include "webrtc/base/signalthread.h" #include "webrtc/base/thread.h" diff --git a/webrtc/base/socketadapters.h b/webrtc/base/socketadapters.h index ae0ed9ac39..970a3b5eb6 100644 --- a/webrtc/base/socketadapters.h +++ b/webrtc/base/socketadapters.h @@ -15,6 +15,7 @@ #include #include "webrtc/base/asyncsocket.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/cryptstring.h" #include "webrtc/base/logging.h" diff --git a/webrtc/base/socketstream.h b/webrtc/base/socketstream.h index fd8b559007..c64656345d 100644 --- a/webrtc/base/socketstream.h +++ b/webrtc/base/socketstream.h @@ -13,6 +13,7 @@ #include "webrtc/base/asyncsocket.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/stream.h" namespace rtc { diff --git a/webrtc/base/sslidentity.h b/webrtc/base/sslidentity.h index af0149bb62..f9fef312f5 100644 --- a/webrtc/base/sslidentity.h +++ b/webrtc/base/sslidentity.h @@ -19,6 +19,7 @@ #include #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/messagedigest.h" #include "webrtc/base/timeutils.h" diff --git a/webrtc/base/stream.h b/webrtc/base/stream.h index 2d76ee2515..bc949065c8 100644 --- a/webrtc/base/stream.h +++ b/webrtc/base/stream.h @@ -16,6 +16,7 @@ #include "webrtc/base/basictypes.h" #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/logging.h" #include "webrtc/base/messagehandler.h" diff --git a/webrtc/base/swap_queue.h b/webrtc/base/swap_queue.h index d3af225eb1..1851309bd7 100644 --- a/webrtc/base/swap_queue.h +++ b/webrtc/base/swap_queue.h @@ -16,6 +16,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" namespace webrtc { diff --git a/webrtc/base/task_unittest.cc b/webrtc/base/task_unittest.cc index 7492436a5d..b09373efa4 100644 --- a/webrtc/base/task_unittest.cc +++ b/webrtc/base/task_unittest.cc @@ -22,6 +22,7 @@ #include "webrtc/base/arraysize.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/gunit.h" #include "webrtc/base/logging.h" #include "webrtc/base/task.h" diff --git a/webrtc/base/testclient.h b/webrtc/base/testclient.h index 5d8ee98a6f..df831fefb7 100644 --- a/webrtc/base/testclient.h +++ b/webrtc/base/testclient.h @@ -13,6 +13,7 @@ #include #include "webrtc/base/asyncudpsocket.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" namespace rtc { diff --git a/webrtc/base/testechoserver.h b/webrtc/base/testechoserver.h index e87a63f86f..76d714b4f4 100644 --- a/webrtc/base/testechoserver.h +++ b/webrtc/base/testechoserver.h @@ -14,6 +14,7 @@ #include #include #include "webrtc/base/asynctcpsocket.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/socketaddress.h" #include "webrtc/base/sigslot.h" #include "webrtc/base/thread.h" diff --git a/webrtc/base/thread_checker_unittest.cc b/webrtc/base/thread_checker_unittest.cc index 8fcaa7a272..372f6f4a77 100644 --- a/webrtc/base/thread_checker_unittest.cc +++ b/webrtc/base/thread_checker_unittest.cc @@ -14,6 +14,7 @@ #include "testing/gtest/include/gtest/gtest.h" #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/thread.h" #include "webrtc/base/thread_checker.h" diff --git a/webrtc/base/virtualsocketserver.h b/webrtc/base/virtualsocketserver.h index daf0145a26..c3dc8c8540 100644 --- a/webrtc/base/virtualsocketserver.h +++ b/webrtc/base/virtualsocketserver.h @@ -16,6 +16,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/messagequeue.h" #include "webrtc/base/socketserver.h" diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc index 1572720248..61eb80a8b3 100644 --- a/webrtc/call/call.cc +++ b/webrtc/call/call.cc @@ -19,6 +19,7 @@ #include "webrtc/audio/audio_state.h" #include "webrtc/audio/scoped_voe_interface.h" #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/logging.h" #include "webrtc/base/thread_annotations.h" #include "webrtc/base/thread_checker.h" diff --git a/webrtc/call/ringbuffer.h b/webrtc/call/ringbuffer.h index 7ff8215461..fa5e4227ff 100644 --- a/webrtc/call/ringbuffer.h +++ b/webrtc/call/ringbuffer.h @@ -16,6 +16,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" namespace webrtc { diff --git a/webrtc/common.h b/webrtc/common.h index f2a868241d..3aeea814c6 100644 --- a/webrtc/common.h +++ b/webrtc/common.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" namespace webrtc { diff --git a/webrtc/libjingle/xmpp/pubsubstateclient.h b/webrtc/libjingle/xmpp/pubsubstateclient.h index ffb794af4c..13bfe1971e 100644 --- a/webrtc/libjingle/xmpp/pubsubstateclient.h +++ b/webrtc/libjingle/xmpp/pubsubstateclient.h @@ -20,6 +20,7 @@ #include "webrtc/libjingle/xmpp/constants.h" #include "webrtc/libjingle/xmpp/jid.h" #include "webrtc/libjingle/xmpp/pubsubclient.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/base/sigslot.h" #include "webrtc/base/sigslotrepeater.h" diff --git a/webrtc/libjingle/xmpp/xmpptask.h b/webrtc/libjingle/xmpp/xmpptask.h index 36351b7fa8..36ffe1b098 100644 --- a/webrtc/libjingle/xmpp/xmpptask.h +++ b/webrtc/libjingle/xmpp/xmpptask.h @@ -14,6 +14,7 @@ #include #include #include "webrtc/libjingle/xmpp/xmppengine.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/sigslot.h" #include "webrtc/base/task.h" #include "webrtc/base/taskparent.h" diff --git a/webrtc/media/base/rtpdump.h b/webrtc/media/base/rtpdump.h index 4ce479277a..395408c53b 100644 --- a/webrtc/media/base/rtpdump.h +++ b/webrtc/media/base/rtpdump.h @@ -18,6 +18,7 @@ #include "webrtc/base/basictypes.h" #include "webrtc/base/bytebuffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/stream.h" namespace cricket { diff --git a/webrtc/media/base/videoadapter.h b/webrtc/media/base/videoadapter.h index b7aba1406a..50b7d4c4be 100644 --- a/webrtc/media/base/videoadapter.h +++ b/webrtc/media/base/videoadapter.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_MEDIA_BASE_VIDEOADAPTER_H_ #define WEBRTC_MEDIA_BASE_VIDEOADAPTER_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/optional.h" #include "webrtc/media/base/videocommon.h" diff --git a/webrtc/media/base/videocapturer.h b/webrtc/media/base/videocapturer.h index 270315582a..123c18e03f 100644 --- a/webrtc/media/base/videocapturer.h +++ b/webrtc/media/base/videocapturer.h @@ -19,6 +19,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/media/base/videosourceinterface.h" #include "webrtc/base/sigslot.h" diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc index 8561aa2dc4..c11993d550 100644 --- a/webrtc/media/engine/webrtcvoiceengine.cc +++ b/webrtc/media/engine/webrtcvoiceengine.cc @@ -22,6 +22,7 @@ #include "webrtc/base/base64.h" #include "webrtc/base/byteorder.h" #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/helpers.h" #include "webrtc/base/logging.h" #include "webrtc/base/stringencode.h" diff --git a/webrtc/media/engine/webrtcvoiceengine.h b/webrtc/media/engine/webrtcvoiceengine.h index 4c53ad0222..fd46dee898 100644 --- a/webrtc/media/engine/webrtcvoiceengine.h +++ b/webrtc/media/engine/webrtcvoiceengine.h @@ -18,6 +18,7 @@ #include "webrtc/audio_state.h" #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/networkroute.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/base/stream.h" diff --git a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc index 8b80d2181d..eb6c6d3607 100644 --- a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc +++ b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc @@ -12,6 +12,7 @@ #include #include "testing/gtest/include/gtest/gtest.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/common_audio/vad/mock/mock_vad.h" #include "webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h" #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" diff --git a/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h b/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h index 9dc3a6fd7a..7a627e757c 100644 --- a/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h +++ b/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h @@ -12,6 +12,7 @@ #define WEBRTC_MODULES_AUDIO_CODING_CODECS_G711_AUDIO_DECODER_PCM_H_ #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_coding/codecs/audio_decoder.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h b/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h index 7cc2ea9877..1837ffabe2 100644 --- a/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h +++ b/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_G722_AUDIO_DECODER_G722_H_ #define WEBRTC_MODULES_AUDIO_CODING_CODECS_G722_AUDIO_DECODER_G722_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_coding/codecs/audio_decoder.h" typedef struct WebRtcG722DecInst G722DecInst; diff --git a/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h b/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h index b3f6965fff..ad49a865e2 100644 --- a/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h +++ b/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" #include "webrtc/modules/audio_coding/codecs/g722/g722_interface.h" diff --git a/webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h b/webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h index e890635da0..036c11fac4 100644 --- a/webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h +++ b/webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_AUDIO_DECODER_ILBC_H_ #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_AUDIO_DECODER_ILBC_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_coding/codecs/audio_decoder.h" typedef struct iLBC_decinst_t_ IlbcDecoderInstance; diff --git a/webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t.h b/webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t.h index d9d20ec039..b1907bbb39 100644 --- a/webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t.h +++ b/webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t.h @@ -13,6 +13,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/modules/audio_coding/codecs/audio_decoder.h" #include "webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.h" diff --git a/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h b/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h index afe38d7940..f1f2714ff9 100644 --- a/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h +++ b/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h @@ -13,6 +13,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" #include "webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.h" diff --git a/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h b/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h index af32a84512..be48ca988e 100644 --- a/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h +++ b/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_AUDIO_DECODER_OPUS_H_ #define WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_AUDIO_DECODER_OPUS_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_coding/codecs/audio_decoder.h" #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" diff --git a/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h b/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h index 34a780b49d..9eb3b61fae 100644 --- a/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h +++ b/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_PCM16B_AUDIO_ENCODER_PCM16B_H_ #define WEBRTC_MODULES_AUDIO_CODING_CODECS_PCM16B_AUDIO_ENCODER_PCM16B_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.h" namespace webrtc { diff --git a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h index 06d0fdeeca..ead9fd65a2 100644 --- a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h +++ b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h @@ -15,6 +15,7 @@ #include #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" namespace webrtc { diff --git a/webrtc/modules/audio_processing/aec/aec_core_internal.h b/webrtc/modules/audio_processing/aec/aec_core_internal.h index 1f7b6b541f..c7f91d7da3 100644 --- a/webrtc/modules/audio_processing/aec/aec_core_internal.h +++ b/webrtc/modules/audio_processing/aec/aec_core_internal.h @@ -14,6 +14,7 @@ extern "C" { #include "webrtc/common_audio/ring_buffer.h" } +#include "webrtc/base/constructormagic.h" #include "webrtc/common_audio/wav_file.h" #include "webrtc/modules/audio_processing/aec/aec_common.h" #include "webrtc/modules/audio_processing/aec/aec_core.h" diff --git a/webrtc/modules/audio_processing/echo_control_mobile_impl.cc b/webrtc/modules/audio_processing/echo_control_mobile_impl.cc index 97f69974db..d7b27e99f3 100644 --- a/webrtc/modules/audio_processing/echo_control_mobile_impl.cc +++ b/webrtc/modules/audio_processing/echo_control_mobile_impl.cc @@ -12,6 +12,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_processing/aecm/echo_control_mobile.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/system_wrappers/include/logging.h" diff --git a/webrtc/modules/audio_processing/gain_control_impl.cc b/webrtc/modules/audio_processing/gain_control_impl.cc index 3a6fcb116d..9f381d26f1 100644 --- a/webrtc/modules/audio_processing/gain_control_impl.cc +++ b/webrtc/modules/audio_processing/gain_control_impl.cc @@ -10,6 +10,7 @@ #include "webrtc/modules/audio_processing/gain_control_impl.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/optional.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #include "webrtc/modules/audio_processing/agc/legacy/gain_control.h" diff --git a/webrtc/modules/audio_processing/noise_suppression_impl.cc b/webrtc/modules/audio_processing/noise_suppression_impl.cc index 4344c56fcc..e1c9fdcd01 100644 --- a/webrtc/modules/audio_processing/noise_suppression_impl.cc +++ b/webrtc/modules/audio_processing/noise_suppression_impl.cc @@ -10,6 +10,7 @@ #include "webrtc/modules/audio_processing/noise_suppression_impl.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/audio_processing/audio_buffer.h" #if defined(WEBRTC_NS_FLOAT) #include "webrtc/modules/audio_processing/ns/noise_suppression.h" diff --git a/webrtc/modules/audio_processing/voice_detection_impl.cc b/webrtc/modules/audio_processing/voice_detection_impl.cc index 674a5197a8..5a0d37c274 100644 --- a/webrtc/modules/audio_processing/voice_detection_impl.cc +++ b/webrtc/modules/audio_processing/voice_detection_impl.cc @@ -10,6 +10,7 @@ #include "webrtc/modules/audio_processing/voice_detection_impl.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/common_audio/vad/include/webrtc_vad.h" #include "webrtc/modules/audio_processing/audio_buffer.h" diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_impl.h b/webrtc/modules/bitrate_controller/bitrate_controller_impl.h index 6f776d758b..14e8fd795a 100644 --- a/webrtc/modules/bitrate_controller/bitrate_controller_impl.h +++ b/webrtc/modules/bitrate_controller/bitrate_controller_impl.h @@ -20,6 +20,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.h" diff --git a/webrtc/modules/congestion_controller/congestion_controller.cc b/webrtc/modules/congestion_controller/congestion_controller.cc index caf39f07d2..4517fc44f7 100644 --- a/webrtc/modules/congestion_controller/congestion_controller.cc +++ b/webrtc/modules/congestion_controller/congestion_controller.cc @@ -15,6 +15,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/logging.h" #include "webrtc/base/socket.h" #include "webrtc/base/thread_annotations.h" diff --git a/webrtc/modules/congestion_controller/include/congestion_controller.h b/webrtc/modules/congestion_controller/include/congestion_controller.h index 65bf5be3ec..13614f5976 100644 --- a/webrtc/modules/congestion_controller/include/congestion_controller.h +++ b/webrtc/modules/congestion_controller/include/congestion_controller.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ #define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_CONGESTION_CONTROLLER_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/modules/include/module.h" #include "webrtc/modules/include/module_common_types.h" diff --git a/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h b/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h index 0813c3d42c..c5b2412845 100644 --- a/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h +++ b/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h @@ -12,6 +12,7 @@ #define WEBRTC_MODULES_CONGESTION_CONTROLLER_INCLUDE_MOCK_MOCK_CONGESTION_CONTROLLER_H_ #include "testing/gmock/include/gmock/gmock.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/socket.h" #include "webrtc/modules/congestion_controller/include/congestion_controller.h" diff --git a/webrtc/modules/desktop_capture/cropped_desktop_frame.cc b/webrtc/modules/desktop_capture/cropped_desktop_frame.cc index f57fc572b6..733fe9b2ad 100644 --- a/webrtc/modules/desktop_capture/cropped_desktop_frame.cc +++ b/webrtc/modules/desktop_capture/cropped_desktop_frame.cc @@ -12,6 +12,8 @@ #include "webrtc/modules/desktop_capture/cropped_desktop_frame.h" +#include "webrtc/base/constructormagic.h" + namespace webrtc { // A DesktopFrame that is a sub-rect of another DesktopFrame. diff --git a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc index 55afedeabf..52b111c350 100644 --- a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc +++ b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc @@ -12,6 +12,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_capturer.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" #include "webrtc/modules/desktop_capture/mouse_cursor.h" diff --git a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h index cd0b2cfbb6..bcf345e484 100644 --- a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h +++ b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h @@ -13,6 +13,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/modules/desktop_capture/desktop_capturer.h" #include "webrtc/modules/desktop_capture/mouse_cursor_monitor.h" diff --git a/webrtc/modules/desktop_capture/desktop_frame.h b/webrtc/modules/desktop_capture/desktop_frame.h index 3cd839ca1b..7047db8fc1 100644 --- a/webrtc/modules/desktop_capture/desktop_frame.h +++ b/webrtc/modules/desktop_capture/desktop_frame.h @@ -13,6 +13,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_geometry.h" #include "webrtc/modules/desktop_capture/desktop_region.h" #include "webrtc/modules/desktop_capture/shared_memory.h" diff --git a/webrtc/modules/desktop_capture/desktop_frame_win.h b/webrtc/modules/desktop_capture/desktop_frame_win.h index 929d23c0e5..3513e14ffb 100644 --- a/webrtc/modules/desktop_capture/desktop_frame_win.h +++ b/webrtc/modules/desktop_capture/desktop_frame_win.h @@ -15,6 +15,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/desktop_capture/differ.h b/webrtc/modules/desktop_capture/differ.h index c3dcd4b0e1..9ab059bcaa 100644 --- a/webrtc/modules/desktop_capture/differ.h +++ b/webrtc/modules/desktop_capture/differ.h @@ -14,6 +14,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_region.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/differ_unittest.cc b/webrtc/modules/desktop_capture/differ_unittest.cc index df4e6a45c0..543910de28 100644 --- a/webrtc/modules/desktop_capture/differ_unittest.cc +++ b/webrtc/modules/desktop_capture/differ_unittest.cc @@ -11,6 +11,7 @@ #include #include "testing/gmock/include/gmock/gmock.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/differ.h" #include "webrtc/modules/desktop_capture/differ_block.h" diff --git a/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.h b/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.h index 2f2dd72a6e..329beef23d 100644 --- a/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.h +++ b/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.h @@ -16,6 +16,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/mac/desktop_configuration.h" #include "webrtc/system_wrappers/include/atomic32.h" diff --git a/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h b/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h index 4e6008966e..186b9bf58f 100644 --- a/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h +++ b/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.h @@ -13,6 +13,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/window_capturer.h" #include "webrtc/system_wrappers/include/atomic32.h" #include "webrtc/system_wrappers/include/tick_util.h" diff --git a/webrtc/modules/desktop_capture/screen_capturer_helper.h b/webrtc/modules/desktop_capture/screen_capturer_helper.h index f912378333..458bccc1ed 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_helper.h +++ b/webrtc/modules/desktop_capture/screen_capturer_helper.h @@ -13,6 +13,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_geometry.h" #include "webrtc/modules/desktop_capture/desktop_region.h" #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" diff --git a/webrtc/modules/desktop_capture/screen_capturer_mac.mm b/webrtc/modules/desktop_capture/screen_capturer_mac.mm index 76de59ef10..1acbda2d6e 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_mac.mm +++ b/webrtc/modules/desktop_capture/screen_capturer_mac.mm @@ -23,6 +23,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/macutils.h" #include "webrtc/modules/desktop_capture/desktop_capture_options.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" diff --git a/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h b/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h index b1f64e41c9..7264249e0f 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h +++ b/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h @@ -12,6 +12,7 @@ #define WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_MOCK_OBJECTS_H_ #include "testing/gmock/include/gmock/gmock.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/screen_capturer.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/screen_capturer_unittest.cc b/webrtc/modules/desktop_capture/screen_capturer_unittest.cc index 72105acca4..6f4963eb19 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_unittest.cc +++ b/webrtc/modules/desktop_capture/screen_capturer_unittest.cc @@ -14,6 +14,7 @@ #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_capture_options.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" #include "webrtc/modules/desktop_capture/desktop_region.h" diff --git a/webrtc/modules/desktop_capture/screen_capturer_x11.cc b/webrtc/modules/desktop_capture/screen_capturer_x11.cc index 4848235e3f..4bd6baa628 100644 --- a/webrtc/modules/desktop_capture/screen_capturer_x11.cc +++ b/webrtc/modules/desktop_capture/screen_capturer_x11.cc @@ -21,6 +21,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_capture_options.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" #include "webrtc/modules/desktop_capture/differ.h" diff --git a/webrtc/modules/desktop_capture/shared_desktop_frame.cc b/webrtc/modules/desktop_capture/shared_desktop_frame.cc index 13d66c53d7..8d10827e29 100644 --- a/webrtc/modules/desktop_capture/shared_desktop_frame.cc +++ b/webrtc/modules/desktop_capture/shared_desktop_frame.cc @@ -12,6 +12,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/system_wrappers/include/atomic32.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/shared_desktop_frame.h b/webrtc/modules/desktop_capture/shared_desktop_frame.h index 7d18db153c..4f6a2bb7c6 100644 --- a/webrtc/modules/desktop_capture/shared_desktop_frame.h +++ b/webrtc/modules/desktop_capture/shared_desktop_frame.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_SHARED_DESKTOP_FRAME_H_ #define WEBRTC_MODULES_DESKTOP_CAPTURE_SHARED_DESKTOP_FRAME_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h b/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h index 261a018d5f..7fb674d38a 100644 --- a/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h +++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h @@ -17,6 +17,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/modules/desktop_capture/screen_capture_frame_queue.h" #include "webrtc/modules/desktop_capture/screen_capturer_helper.h" diff --git a/webrtc/modules/desktop_capture/win/window_capture_utils.h b/webrtc/modules/desktop_capture/win/window_capture_utils.h index 7c80490f60..85bca4c824 100644 --- a/webrtc/modules/desktop_capture/win/window_capture_utils.h +++ b/webrtc/modules/desktop_capture/win/window_capture_utils.h @@ -10,6 +10,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_geometry.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/window_capturer_mac.mm b/webrtc/modules/desktop_capture/window_capturer_mac.mm index 22061edbe7..67ee4e0c31 100644 --- a/webrtc/modules/desktop_capture/window_capturer_mac.mm +++ b/webrtc/modules/desktop_capture/window_capturer_mac.mm @@ -15,6 +15,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/macutils.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/modules/desktop_capture/desktop_capture_options.h" diff --git a/webrtc/modules/desktop_capture/window_capturer_null.cc b/webrtc/modules/desktop_capture/window_capturer_null.cc index b74f17e39b..5f32c3d71c 100755 --- a/webrtc/modules/desktop_capture/window_capturer_null.cc +++ b/webrtc/modules/desktop_capture/window_capturer_null.cc @@ -12,6 +12,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" namespace webrtc { diff --git a/webrtc/modules/desktop_capture/window_capturer_win.cc b/webrtc/modules/desktop_capture/window_capturer_win.cc index 0d594a2a09..702324372b 100644 --- a/webrtc/modules/desktop_capture/window_capturer_win.cc +++ b/webrtc/modules/desktop_capture/window_capturer_win.cc @@ -15,6 +15,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/win32.h" #include "webrtc/modules/desktop_capture/desktop_frame_win.h" #include "webrtc/modules/desktop_capture/win/window_capture_utils.h" diff --git a/webrtc/modules/desktop_capture/window_capturer_x11.cc b/webrtc/modules/desktop_capture/window_capturer_x11.cc index 68e1725db3..8ead98109a 100755 --- a/webrtc/modules/desktop_capture/window_capturer_x11.cc +++ b/webrtc/modules/desktop_capture/window_capturer_x11.cc @@ -19,6 +19,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/modules/desktop_capture/desktop_capture_options.h" #include "webrtc/modules/desktop_capture/desktop_frame.h" diff --git a/webrtc/modules/desktop_capture/x11/shared_x_display.h b/webrtc/modules/desktop_capture/x11/shared_x_display.h index d905b9e51c..6cade2decc 100644 --- a/webrtc/modules/desktop_capture/x11/shared_x_display.h +++ b/webrtc/modules/desktop_capture/x11/shared_x_display.h @@ -19,6 +19,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ref_ptr.h" #include "webrtc/system_wrappers/include/atomic32.h" diff --git a/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h b/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h index d1e6632f08..b868b044a8 100644 --- a/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h +++ b/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.h @@ -13,6 +13,7 @@ #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_ #define WEBRTC_MODULES_DESKTOP_CAPTURE_X11_X_SERVER_PIXEL_BUFFER_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/desktop_capture/desktop_geometry.h" #include diff --git a/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc b/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc index 4967913558..d44788be27 100644 --- a/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc +++ b/webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc @@ -11,6 +11,7 @@ #include #include "testing/gtest/include/gtest/gtest.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test.h" #include "webrtc/modules/remote_bitrate_estimator/test/packet_receiver.h" diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h index e56f4baded..a6119091ce 100644 --- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h +++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time.h @@ -17,6 +17,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/rate_statistics.h" #include "webrtc/base/thread_checker.h" diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h index 5516ea781d..41d570b707 100644 --- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h +++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h @@ -15,6 +15,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/rate_statistics.h" #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" diff --git a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc index 31cd9f9802..e307242f8d 100644 --- a/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc +++ b/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimators_test.cc @@ -16,6 +16,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/random.h" #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test.h" diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe.cc b/webrtc/modules/remote_bitrate_estimator/test/bwe.cc index 5e282c6f08..b21a269ec6 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/bwe.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/bwe.cc @@ -13,6 +13,7 @@ #include #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h" #include "webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h" #include "webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h" diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe.h b/webrtc/modules/remote_bitrate_estimator/test/bwe.h index bd016cf318..fc3018f996 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/bwe.h +++ b/webrtc/modules/remote_bitrate_estimator/test/bwe.h @@ -16,6 +16,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/gtest_prod_util.h" #include "webrtc/modules/remote_bitrate_estimator/test/packet.h" #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc index 41bf836c9e..e0736c8c0f 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc +++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc @@ -14,6 +14,8 @@ #include +#include "webrtc/base/constructormagic.h" + namespace webrtc { namespace testing { namespace bwe { diff --git a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h index 223b20f21c..1fe3a228e4 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h +++ b/webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h @@ -25,6 +25,7 @@ #include #include "webrtc/base/common.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/random.h" #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" #include "webrtc/modules/include/module_common_types.h" diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h b/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h index 37009c7701..2a33440bc3 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h +++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h @@ -21,6 +21,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/include/module_common_types.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" #include "webrtc/voice_engine/channel.h" diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h b/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h index 5e6b6edb25..3dc4f388c8 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h +++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/remb.h @@ -15,6 +15,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" namespace webrtc { diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h b/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h index 51e29e34c2..e6a05684cc 100644 --- a/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h +++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h @@ -14,6 +14,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/remote_bitrate_estimator/include/send_time_history.h" #include "webrtc/modules/remote_bitrate_estimator/test/bwe.h" diff --git a/webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h b/webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h index 56c6e48691..a76e5e0647 100644 --- a/webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h +++ b/webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h @@ -11,6 +11,7 @@ #ifndef WEBRTC_MODULES_RTP_RTCP_INCLUDE_REMOTE_NTP_TIME_ESTIMATOR_H_ #define WEBRTC_MODULES_RTP_RTCP_INCLUDE_REMOTE_NTP_TIME_ESTIMATOR_H_ +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/system_wrappers/include/rtp_to_ntp.h" diff --git a/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h b/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h index 50fb35e0e4..50cda8dfba 100644 --- a/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h +++ b/webrtc/modules/rtp_rtcp/include/rtp_rtcp.h @@ -16,6 +16,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/include/module.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/video_coding/include/video_coding_defines.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h index 16bd3fc2a2..f5a885cfdd 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h @@ -12,6 +12,7 @@ #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_APP_H_ #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h index af3fbacc80..ad28cb39e7 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h @@ -15,6 +15,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h index 4fb92facc7..06b67c375c 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h @@ -15,6 +15,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h index 49de7be1a8..34eb57f348 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h index a85576db2d..d7e715bc9e 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h @@ -13,6 +13,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rrtr.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h index fb2be113a2..b6acae5aab 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h index 10fafd229d..64caf1b5c4 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h @@ -11,6 +11,7 @@ #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_PLI_H_ #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h index 866eb2ce52..8568e7327c 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h @@ -12,6 +12,7 @@ #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_RAPID_RESYNC_REQUEST_H_ #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h index 237d923cd7..1511afb955 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h index d58f052b14..fa807299b0 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.h index 1fa3352335..7d4895b09c 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/rpsi.h @@ -12,6 +12,7 @@ #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_RPSI_H_ #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h index 5940edbb11..19d5b42b55 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h @@ -15,6 +15,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h index e11bdb9a94..a544017f14 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h @@ -13,6 +13,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h" #include "webrtc/system_wrappers/include/ntp_time.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.h index 5d9e6c93e9..7b6b24f3b8 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sli.h @@ -15,6 +15,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h index 26a44082d3..c84d0dfe0b 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbn.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmb_item.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h b/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h index 4028563d07..15bfc5856f 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h @@ -14,6 +14,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmb_item.h" #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc index 7579a36edc..154093b156 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc +++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc @@ -13,6 +13,7 @@ #include // memcpy #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/logging.h" #include "webrtc/base/trace_event.h" #include "webrtc/call.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_sender.h b/webrtc/modules/rtp_rtcp/source/rtcp_sender.h index ba6fb70055..4ee751f37c 100644 --- a/webrtc/modules/rtp_rtcp/source/rtcp_sender.h +++ b/webrtc/modules/rtp_rtcp/source/rtcp_sender.h @@ -18,6 +18,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/random.h" #include "webrtc/base/thread_annotations.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_h264.h b/webrtc/modules/rtp_rtcp/source/rtp_format_h264.h index e32433fe90..88258df8bc 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_format_h264.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_format_h264.h @@ -14,6 +14,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h b/webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h index 3bf72e9dd3..e72fe310cf 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h @@ -12,6 +12,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/common_types.h" #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet.h b/webrtc/modules/rtp_rtcp/source/rtp_packet.h index 9e9f4c1375..b2687ca9ba 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_packet.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_packet.h @@ -14,6 +14,7 @@ #include "webrtc/base/basictypes.h" #include "webrtc/base/buffer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" namespace webrtc { diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender.h b/webrtc/modules/rtp_rtcp/source/rtp_sender.h index df75f112c2..99465c67f3 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_sender.h +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender.h @@ -16,6 +16,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/random.h" #include "webrtc/base/thread_annotations.h" diff --git a/webrtc/modules/video_coding/test/rtp_player.cc b/webrtc/modules/video_coding/test/rtp_player.cc index 97d63e0fb5..816960cbe0 100644 --- a/webrtc/modules/video_coding/test/rtp_player.cc +++ b/webrtc/modules/video_coding/test/rtp_player.cc @@ -15,6 +15,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" diff --git a/webrtc/modules/video_coding/test/stream_generator.h b/webrtc/modules/video_coding/test/stream_generator.h index 36b26db92e..9eb957194f 100644 --- a/webrtc/modules/video_coding/test/stream_generator.h +++ b/webrtc/modules/video_coding/test/stream_generator.h @@ -12,6 +12,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/video_coding/packet.h" #include "webrtc/modules/video_coding/test/test_util.h" #include "webrtc/typedefs.h" diff --git a/webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc b/webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc index e774db1652..8c674ef504 100644 --- a/webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc +++ b/webrtc/modules/video_coding/test/vcm_payload_sink_factory.cc @@ -14,6 +14,7 @@ #include +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" #include "webrtc/modules/video_coding/test/test_util.h" #include "webrtc/system_wrappers/include/clock.h" diff --git a/webrtc/p2p/base/asyncstuntcpsocket.h b/webrtc/p2p/base/asyncstuntcpsocket.h index 3a15d4a399..90d262b00a 100644 --- a/webrtc/p2p/base/asyncstuntcpsocket.h +++ b/webrtc/p2p/base/asyncstuntcpsocket.h @@ -12,6 +12,7 @@ #define WEBRTC_P2P_BASE_ASYNCSTUNTCPSOCKET_H_ #include "webrtc/base/asynctcpsocket.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/base/socketfactory.h" diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h index 08dd04c198..f004bb1460 100644 --- a/webrtc/p2p/base/dtlstransportchannel.h +++ b/webrtc/p2p/base/dtlstransportchannel.h @@ -18,6 +18,7 @@ #include "webrtc/p2p/base/transportchannelimpl.h" #include "webrtc/base/buffer.h" #include "webrtc/base/bufferqueue.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/sslstreamadapter.h" #include "webrtc/base/stream.h" diff --git a/webrtc/p2p/base/p2ptransport.h b/webrtc/p2p/base/p2ptransport.h index 0f965b4cdc..d4da224f97 100644 --- a/webrtc/p2p/base/p2ptransport.h +++ b/webrtc/p2p/base/p2ptransport.h @@ -12,6 +12,8 @@ #define WEBRTC_P2P_BASE_P2PTRANSPORT_H_ #include + +#include "webrtc/base/constructormagic.h" #include "webrtc/p2p/base/transport.h" namespace cricket { diff --git a/webrtc/p2p/base/p2ptransportchannel.h b/webrtc/p2p/base/p2ptransportchannel.h index 56f35558ed..08c2b4fa68 100644 --- a/webrtc/p2p/base/p2ptransportchannel.h +++ b/webrtc/p2p/base/p2ptransportchannel.h @@ -24,6 +24,8 @@ #include #include #include + +#include "webrtc/base/constructormagic.h" #include "webrtc/p2p/base/candidate.h" #include "webrtc/p2p/base/candidatepairinterface.h" #include "webrtc/p2p/base/p2ptransport.h" diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h index 559d4373ed..46360ccf04 100644 --- a/webrtc/p2p/base/transport.h +++ b/webrtc/p2p/base/transport.h @@ -29,6 +29,8 @@ #include #include #include + +#include "webrtc/base/constructormagic.h" #include "webrtc/p2p/base/candidate.h" #include "webrtc/p2p/base/p2pconstants.h" #include "webrtc/p2p/base/sessiondescription.h" diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h index 333ca8778b..87ed9fdea3 100644 --- a/webrtc/p2p/base/transportchannel.h +++ b/webrtc/p2p/base/transportchannel.h @@ -15,6 +15,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/p2p/base/candidate.h" #include "webrtc/p2p/base/candidatepairinterface.h" #include "webrtc/p2p/base/transport.h" diff --git a/webrtc/p2p/base/transportchannelimpl.h b/webrtc/p2p/base/transportchannelimpl.h index 904ebf563f..f548aa012f 100644 --- a/webrtc/p2p/base/transportchannelimpl.h +++ b/webrtc/p2p/base/transportchannelimpl.h @@ -12,6 +12,8 @@ #define WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ #include + +#include "webrtc/base/constructormagic.h" #include "webrtc/p2p/base/transportchannel.h" namespace buzz { class XmlElement; } diff --git a/webrtc/p2p/quic/quictransportchannel.h b/webrtc/p2p/quic/quictransportchannel.h index 430ed8d9c4..49d786c7f6 100644 --- a/webrtc/p2p/quic/quictransportchannel.h +++ b/webrtc/p2p/quic/quictransportchannel.h @@ -16,6 +16,7 @@ #include "net/quic/quic_crypto_client_stream.h" #include "net/quic/quic_packet_writer.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/optional.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/p2p/base/transportchannelimpl.h" diff --git a/webrtc/p2p/stunprober/stunprober.cc b/webrtc/p2p/stunprober/stunprober.cc index eb9a7a7d3b..a54a843e45 100644 --- a/webrtc/p2p/stunprober/stunprober.cc +++ b/webrtc/p2p/stunprober/stunprober.cc @@ -16,6 +16,7 @@ #include "webrtc/base/asyncresolverinterface.h" #include "webrtc/base/bind.h" #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/helpers.h" #include "webrtc/base/logging.h" #include "webrtc/base/timeutils.h" diff --git a/webrtc/p2p/stunprober/stunprober.h b/webrtc/p2p/stunprober/stunprober.h index 44999a201e..3f100c6dc1 100644 --- a/webrtc/p2p/stunprober/stunprober.h +++ b/webrtc/p2p/stunprober/stunprober.h @@ -19,6 +19,7 @@ #include "webrtc/base/basictypes.h" #include "webrtc/base/bytebuffer.h" #include "webrtc/base/callback.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/ipaddress.h" #include "webrtc/base/network.h" #include "webrtc/base/scoped_ptr.h" diff --git a/webrtc/pc/srtpfilter.h b/webrtc/pc/srtpfilter.h index a168710a88..523ac1dcbf 100644 --- a/webrtc/pc/srtpfilter.h +++ b/webrtc/pc/srtpfilter.h @@ -18,6 +18,7 @@ #include #include "webrtc/base/basictypes.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/base/sigslotrepeater.h" #include "webrtc/base/sslstreamadapter.h" diff --git a/webrtc/pc/srtpfilter_unittest.cc b/webrtc/pc/srtpfilter_unittest.cc index 2eee35c202..cc5b3e5fb3 100644 --- a/webrtc/pc/srtpfilter_unittest.cc +++ b/webrtc/pc/srtpfilter_unittest.cc @@ -9,6 +9,7 @@ */ #include "webrtc/base/byteorder.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/gunit.h" #include "webrtc/base/thread.h" #include "webrtc/media/base/cryptoparams.h" diff --git a/webrtc/test/rtp_file_reader.cc b/webrtc/test/rtp_file_reader.cc index 1413f00797..3687ef7b5b 100644 --- a/webrtc/test/rtp_file_reader.cc +++ b/webrtc/test/rtp_file_reader.cc @@ -17,6 +17,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/base/format_macros.h" #include "webrtc/base/scoped_ptr.h" #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" diff --git a/webrtc/video/call_stats.cc b/webrtc/video/call_stats.cc index a1bf221d4e..09c967c2b1 100644 --- a/webrtc/video/call_stats.cc +++ b/webrtc/video/call_stats.cc @@ -13,6 +13,7 @@ #include #include "webrtc/base/checks.h" +#include "webrtc/base/constructormagic.h" #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "webrtc/system_wrappers/include/metrics.h" #include "webrtc/system_wrappers/include/tick_util.h" diff --git a/webrtc/video/vie_receiver.h b/webrtc/video/vie_receiver.h index 6803254e22..cd7638f65e 100644 --- a/webrtc/video/vie_receiver.h +++ b/webrtc/video/vie_receiver.h @@ -16,6 +16,7 @@ #include #include +#include "webrtc/base/constructormagic.h" #include "webrtc/base/criticalsection.h" #include "webrtc/engine_configurations.h" #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h"