Chromium Code Reviews

Issue 2644103002: Delete unneeded includes of base/common.h. (Closed)

Created:
3 years, 11 months ago by nisse-webrtc
Modified:
3 years, 11 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, zhuangzesen_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Delete unneeded includes of base/common.h. Bulk of the changes were done using git grep -l '#include "webrtc/base/common.h"' | \ xargs sed -i '\,^#include.*webrtc/base/common\.h,d' followed by adding back the include in the few places where it is still needed, and in one case (pseudotcp.cc) instead deleting its use of RTC_UNUSED. BUG=webrtc:6424 Review-Url: https://codereview.webrtc.org/2644103002 Cr-Commit-Position: refs/heads/master@{#16263} Committed: https://chromium.googlesource.com/external/webrtc/+/7d2542623aa5e94a4fdb513f02f1b4e7ca2a4474

Patch Set 1 #

Patch Set 2 : Add back common.h include in win32window.cc. #

Patch Set 3 : Rebased. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Stats (+3 lines, -94 lines)
M webrtc/api/dtmfsenderinterface.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/api/notifier.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/api/statstypes.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/applefilesystem.mm View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/asynctcpsocket.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/base64_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/bitbuffer_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/bytebuffer_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/diskcache.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/diskcache_win32.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/httpbase.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/httpclient.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/httpclient.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/httpcommon.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/httpcommon.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/httpcommon-inl.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/httpserver.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/macutils.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/messagequeue.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/networkmonitor.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/openssladapter.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/openssldigest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/opensslidentity.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/opensslstreamadapter.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/physicalsocketserver.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/rollingaccumulator.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/scoped_autorelease_pool.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/sharedexclusivelock_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/signalthread.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/socketadapters.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/socketaddress.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/socketstream.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/stream.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/stringencode_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/stringutils_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/task.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/task_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/taskparent.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/taskrunner.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/testutils.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/thread.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/timeutils_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/transformadapter.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/virtualsocketserver.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/win32.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/win32socketserver.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/win32window_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/base/winping.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/common_video/h264/h264_common.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/common_video/h264/pps_parser.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/common_video/h264/sps_parser.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/examples/peerconnection/client/conductor.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/examples/peerconnection/client/defaults.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/examples/peerconnection/client/linux/main_wnd.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/examples/peerconnection/client/main_wnd.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/examples/peerconnection/client/peer_connection_client.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/media/base/videocapturer.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/media/base/videocommon.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/media/engine/simulcast.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/media/engine/webrtcvoiceengine.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/overuse_detector.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/test/bwe.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/test/bwe_test.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc View 1 chunk +1 line, -0 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/test/estimators/nada.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/test/estimators/tcp.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/test/metric_recorder.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/remote_bitrate_estimator/test/metric_recorder.cc View 1 chunk +1 line, -0 lines 0 comments
M webrtc/modules/remote_bitrate_estimator/test/packet_receiver.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/modules/video_coding/h264_sprop_parameter_sets.h View 1 chunk +1 line, -1 line 0 comments
M webrtc/p2p/base/asyncstuntcpsocket.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/base/dtlstransportchannel_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/base/p2ptransportchannel.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/base/pseudotcp.cc View 5 chunks +0 lines, -5 lines 0 comments
M webrtc/p2p/base/stunport.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/base/stunrequest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/base/tcpport.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/base/turnport.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/client/basicportallocator.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/client/socketmonitor.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/quic/quicsession_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/p2p/quic/quictransportchannel_unittest.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/pc/channel.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/pc/channelmanager.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/pc/dtmfsender.h View 1 chunk +0 lines, -1 line 0 comments
M webrtc/pc/mediamonitor.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/pc/srtpfilter.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/pc/test/fakeaudiocapturemodule.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/pc/webrtcsdp.cc View 1 chunk +0 lines, -1 line 0 comments
M webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.cc View 1 chunk +0 lines, -1 line 0 comments

Messages

Total messages: 18 (12 generated)
nisse-webrtc
This is a large but simple followup, updating the #include lines after removing use of ...
3 years, 11 months ago (2017-01-19 14:10:59 UTC) #2
kwiberg-webrtc
lgtm > Bulk of the changes were done using > > git grep -l '#include ...
3 years, 11 months ago (2017-01-23 14:59:06 UTC) #3
nisse-webrtc
On 2017/01/23 14:59:06, kwiberg-webrtc wrote: > lgtm > > > Bulk of the changes were ...
3 years, 11 months ago (2017-01-23 15:51:37 UTC) #4
kwiberg-webrtc
On 2017/01/23 15:51:37, nisse-webrtc wrote: > On 2017/01/23 14:59:06, kwiberg-webrtc wrote: > > lgtm > ...
3 years, 11 months ago (2017-01-23 15:55:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2644103002/60001
3 years, 11 months ago (2017-01-25 09:44:33 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 09:47:29 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/7d2542623aa5e94a4fdb513f0...

Powered by Google App Engine