Revert "Reland "Make rtc_base/refcount.h self contained, not including refcountedobject.h.""
This reverts commit bf6937a8e90f94ac0ae50a296574b9f262b0932f. Reason for revert: Broke internal projects. Original change's description: > Reland "Make rtc_base/refcount.h self contained, not including refcountedobject.h." > > This is a reland of b7239a9dc825ddb25dbc800aed3a065163b9a10e > Original change's description: > > Make rtc_base/refcount.h self contained, not including refcountedobject.h. > > > > The refcount.h file doesn't depend on anything from > > refcountedobject.h. The motivation of this change to make it possible > > to add additional declarations to refcount.h, and include it from > > refcountedobject.h. > > > > Bug: webrtc:8270 > > Change-Id: I24f6131f471e675570968d00065ff9b1f55e3373 > > Reviewed-on: https://webrtc-review.googlesource.com/5760 > > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > > Commit-Queue: Niels Moller <nisse@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#20106} > > Bug: webrtc:8270 > Change-Id: I9738f6680ab52d0f43639a1a39175fdba5957681 > Reviewed-on: https://webrtc-review.googlesource.com/5840 > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Commit-Queue: Niels Moller <nisse@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#20180} TBR=kwiberg@webrtc.org,nisse@webrtc.org Change-Id: I342b241f5bb707b59ccf2d15a1a5befecb53a52e No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:8270 Reviewed-on: https://webrtc-review.googlesource.com/7280 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20181}
This commit is contained in:
@ -15,7 +15,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/audio_codecs/audio_decoder_factory.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include "api/audio_codecs/audio_encoder_factory.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -56,7 +56,6 @@
|
||||
#include <utility>
|
||||
|
||||
#include "rtc_base/event.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include "api/stats/rtcstats.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
// TODO(tommi): Could we have a static map of value name -> expected type
|
||||
// and use this to RTC_DCHECK on correct usage (somewhat strongly typed values)?
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include "api/video/i420_buffer.h"
|
||||
#include "rtc_base/race_checker.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "rtc_base/criticalsection.h"
|
||||
#include "rtc_base/md5digest.h"
|
||||
#include "rtc_base/platform_thread.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
#include "system_wrappers/include/event_wrapper.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/mock_audio_decoder.h"
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "modules/audio_mixer/audio_frame_manipulator.h"
|
||||
#include "modules/audio_mixer/default_output_rate_calculator.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace {
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/platform_file.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
#if WEBRTC_INTELLIGIBILITY_ENHANCER
|
||||
#include "modules/audio_processing/intelligibility/intelligibility_enhancer.h"
|
||||
|
@ -34,7 +34,6 @@
|
||||
#include "rtc_base/gtest_prod_util.h"
|
||||
#include "rtc_base/ignore_wundef.h"
|
||||
#include "rtc_base/protobuf_utils.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/safe_minmax.h"
|
||||
#include "rtc_base/task_queue.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "modules/desktop_capture/desktop_frame.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include "modules/video_capture/video_capture_impl.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
|
||||
#include "media/base/videocommon.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "rtc_base/logging.h"
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "modules/video_capture/objc/device_info_objc.h"
|
||||
#include "modules/video_capture/objc/rtc_video_capture_objc.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
using namespace webrtc;
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "modules/video_capture/video_capture_config.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "modules/video_capture/windows/video_capture_ds.h"
|
||||
#include "modules/video_capture/windows/video_capture_mf.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/video_coding/codecs/vp8/temporal_layers.h"
|
||||
#include "modules/video_coding/include/video_codec_initializer.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "pc/audiotrack.h"
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
using rtc::scoped_refptr;
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "pc/mediastream.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "rtc_base/timeutils.h"
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
#include "pc/videotrack.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "rtc_base/gunit.h"
|
||||
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*/
|
||||
|
||||
// To generate callback.h from callback.h.pump, execute:
|
||||
// ../third_party/googletest/src/googletest/scripts/pump.py callback.h.pump
|
||||
// /home/build/google3/third_party/gtest/scripts/pump.py callback.h.pump
|
||||
|
||||
// Callbacks are callable object containers. They can hold a function pointer
|
||||
// or a function object and behave like a value type. Internally, data is
|
||||
@ -63,7 +63,6 @@
|
||||
#define RTC_BASE_CALLBACK_H_
|
||||
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
namespace rtc {
|
||||
|
@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
// To generate callback.h from callback.h.pump, execute:
|
||||
// ../third_party/googletest/src/googletest/scripts/pump.py callback.h.pump
|
||||
// /home/build/google3/third_party/gtest/scripts/pump.py callback.h.pump
|
||||
|
||||
// Callbacks are callable object containers. They can hold a function pointer
|
||||
// or a function object and behave like a value type. Internally, data is
|
||||
@ -58,7 +58,6 @@
|
||||
#define RTC_BASE_CALLBACK_H_
|
||||
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
namespace rtc {
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "rtc_base/buffer.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
|
||||
namespace rtc {
|
||||
|
@ -10,6 +10,8 @@
|
||||
#ifndef RTC_BASE_REFCOUNT_H_
|
||||
#define RTC_BASE_REFCOUNT_H_
|
||||
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
// Reference count interface.
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "rtc_base/rtccertificate.h"
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include <memory>
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/sslidentity.h"
|
||||
|
||||
namespace rtc {
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
namespace rtc {
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <utility>
|
||||
|
||||
#include "rtc_base/refcount.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "rtc_base/sequenced_task_checker.h"
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "modules/video_coding/codecs/h264/include/h264.h"
|
||||
#include "modules/video_coding/codecs/vp8/include/vp8.h"
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "test/fake_decoder.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include "api/audio_codecs/audio_decoder_factory.h"
|
||||
#include "api/audio_codecs/builtin_audio_decoder_factory.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "rtc_base/scoped_ref_ptr.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include "modules/audio_device/include/fake_audio_device.h"
|
||||
#include "modules/audio_processing/include/mock_audio_processing.h"
|
||||
#include "rtc_base/refcountedobject.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
Reference in New Issue
Block a user