// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_WEBRTC_OVERRIDES_RTC_BASE_EVENT_H_ #define THIRD_PARTY_WEBRTC_OVERRIDES_RTC_BASE_EVENT_H_ #include "base/synchronization/waitable_event.h" #include "base/threading/thread_restrictions.h" #include "third_party/webrtc/api/units/time_delta.h" #include "third_party/webrtc/rtc_base/system/rtc_export.h" namespace rtc { // Overrides WebRTC's internal event implementation to use Chromium's. class RTC_EXPORT Event { … }; // Pull ScopedAllowBaseSyncPrimitives(ForTesting) into the rtc namespace. // Managing what types in WebRTC are allowed to use // ScopedAllowBaseSyncPrimitives, is done via thread_restrictions.h. ScopedAllowBaseSyncPrimitives; ScopedAllowBaseSyncPrimitivesForTesting; } // namespace rtc #endif // THIRD_PARTY_WEBRTC_OVERRIDES_RTC_BASE_EVENT_H_