Add missing includes checks.h/array_view.h

instead of relying on optional.h to included these 2 headers.

Bug: webrtc:9078
Change-Id: I7a4b3facd81690b8f107640487e129986c1f5ff6
Reviewed-on: https://webrtc-review.googlesource.com/68602
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22803}
This commit is contained in:
Danil Chapovalov
2018-04-09 20:30:51 +02:00
parent 9df29b7411
commit 6e9d89588d
6 changed files with 11 additions and 2 deletions

View File

@ -17,6 +17,7 @@
#include <utility> #include <utility>
#include "api/optional.h" #include "api/optional.h"
#include "rtc_base/checks.h"
namespace webrtc { namespace webrtc {

View File

@ -14,6 +14,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "api/array_view.h"
#include "api/optional.h" #include "api/optional.h"
#include "api/rtpreceiverinterface.h" #include "api/rtpreceiverinterface.h"
#include "api/rtpsenderinterface.h" #include "api/rtpsenderinterface.h"

View File

@ -8,11 +8,13 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include "logging/rtc_event_log/output/rtc_event_log_output_file.h"
#include <fstream> #include <fstream>
#include <memory> #include <memory>
#include <string> #include <string>
#include "logging/rtc_event_log/output/rtc_event_log_output_file.h" #include "rtc_base/checks.h"
#include "rtc_base/ptr_util.h" #include "rtc_base/ptr_util.h"
#include "test/gtest.h" #include "test/gtest.h"
#include "test/testsupport/fileutils.h" #include "test/testsupport/fileutils.h"

View File

@ -15,6 +15,7 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
#include "api/array_view.h"
#include "api/optional.h" #include "api/optional.h"
#include "modules/audio_processing/aec3/aec3_common.h" #include "modules/audio_processing/aec3/aec3_common.h"
#include "modules/audio_processing/aec3/downsampled_render_buffer.h" #include "modules/audio_processing/aec3/downsampled_render_buffer.h"

View File

@ -8,10 +8,12 @@
* be found in the AUTHORS file in the root of the source tree. * be found in the AUTHORS file in the root of the source tree.
*/ */
#include "rtc_base/string_to_number.h"
#include <cerrno> #include <cerrno>
#include <cstdlib> #include <cstdlib>
#include "rtc_base/string_to_number.h" #include "rtc_base/checks.h"
namespace rtc { namespace rtc {
namespace string_to_number_internal { namespace string_to_number_internal {

View File

@ -12,6 +12,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "rtc_base/checks.h"
namespace webrtc { namespace webrtc {
ConfigReader::ConfigReader(const std::string& config_file_path) ConfigReader::ConfigReader(const std::string& config_file_path)