Skip to content

Commit

Permalink
Add missing includes checks.h/array_view.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cr-Commit-Position: refs/heads/master@{#22803}
  • Loading branch information
DanilChapovalov committed Apr 10, 2018
1 parent 9df29b7 commit 6e9d895
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions api/audio_codecs/audio_format.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <utility>

#include "api/optional.h"
#include "rtc_base/checks.h"

namespace webrtc {

Expand Down
1 change: 1 addition & 0 deletions api/rtptransceiverinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <string>
#include <vector>

#include "api/array_view.h"
#include "api/optional.h"
#include "api/rtpreceiverinterface.h"
#include "api/rtpsenderinterface.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
* 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 <memory>
#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 "test/gtest.h"
#include "test/testsupport/fileutils.h"
Expand Down
1 change: 1 addition & 0 deletions modules/audio_processing/aec3/matched_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <memory>
#include <vector>

#include "api/array_view.h"
#include "api/optional.h"
#include "modules/audio_processing/aec3/aec3_common.h"
#include "modules/audio_processing/aec3/downsampled_render_buffer.h"
Expand Down
4 changes: 3 additions & 1 deletion rtc_base/string_to_number.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
* be found in the AUTHORS file in the root of the source tree.
*/

#include "rtc_base/string_to_number.h"

#include <cerrno>
#include <cstdlib>

#include "rtc_base/string_to_number.h"
#include "rtc_base/checks.h"

namespace rtc {
namespace string_to_number_internal {
Expand Down
2 changes: 2 additions & 0 deletions rtc_tools/network_tester/config_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include <string>
#include <vector>

#include "rtc_base/checks.h"

namespace webrtc {

ConfigReader::ConfigReader(const std::string& config_file_path)
Expand Down

0 comments on commit 6e9d895

Please sign in to comment.