diff --git a/api/DEPS b/api/DEPS index 1d3d43f258..afec84d8ec 100644 --- a/api/DEPS +++ b/api/DEPS @@ -130,6 +130,8 @@ specific_include_rules = { "+media/base/media_engine.h", "+p2p/base/port.h", "+p2p/base/port_allocator.h", + # TODO(https://crbug.com/1212611) Remove once includes fixed in nearby. + "+rtc_base/event.h", "+rtc_base/network.h", "+rtc_base/network_constants.h", "+rtc_base/network_monitor_factory.h", diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h index 892e84e192..75c4d3c530 100644 --- a/api/peer_connection_interface.h +++ b/api/peer_connection_interface.h @@ -125,6 +125,8 @@ // PortAllocator in the PeerConnection api. This will let us remove nogncheck. #include "p2p/base/port.h" // nogncheck #include "p2p/base/port_allocator.h" // nogncheck +// TODO(https://crbug.com/1212611) Remove once includes fixed in nearby. +#include "rtc_base/event.h" #include "rtc_base/network.h" #include "rtc_base/network_constants.h" #include "rtc_base/network_monitor_factory.h"