diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 5258549784..06a1c4a45e 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -16,6 +16,8 @@ import sys # Directories that will be scanned by cpplint by the presubmit script. CPPLINT_DIRS = [ + 'webrtc/audio', + 'webrtc/call', 'webrtc/video_engine', ] diff --git a/webrtc/audio/audio_receive_stream_unittest.cc b/webrtc/audio/audio_receive_stream_unittest.cc index 40c2d64970..bfd8dcaa33 100644 --- a/webrtc/audio/audio_receive_stream_unittest.cc +++ b/webrtc/audio/audio_receive_stream_unittest.cc @@ -8,6 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include + #include "testing/gtest/include/gtest/gtest.h" #include "webrtc/audio/audio_receive_stream.h" diff --git a/webrtc/audio/audio_send_stream_unittest.cc b/webrtc/audio/audio_send_stream_unittest.cc index eed97c7fa0..8dc6da7a82 100644 --- a/webrtc/audio/audio_send_stream_unittest.cc +++ b/webrtc/audio/audio_send_stream_unittest.cc @@ -8,6 +8,9 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include +#include + #include "testing/gtest/include/gtest/gtest.h" #include "webrtc/audio/audio_send_stream.h" diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc index 4d758d99a6..441de87ef4 100644 --- a/webrtc/call/call.cc +++ b/webrtc/call/call.cc @@ -126,7 +126,7 @@ class Call : public webrtc::Call, public PacketReceiver, Call::Config config_; rtc::ThreadChecker configuration_thread_checker_; - bool network_enabled_; + bool network_enabled_; rtc::scoped_ptr receive_crit_; // Audio and Video receive streams are owned by the client that creates them. diff --git a/webrtc/call/rtc_event_log_unittest.cc b/webrtc/call/rtc_event_log_unittest.cc index 9dc7bec215..eb3c14814c 100644 --- a/webrtc/call/rtc_event_log_unittest.cc +++ b/webrtc/call/rtc_event_log_unittest.cc @@ -11,6 +11,7 @@ #ifdef ENABLE_RTC_EVENT_LOG #include +#include #include #include "testing/gtest/include/gtest/gtest.h"