Move swap_queue.h to base/

This will let us use the SwapQueue as a message queue for the event log's output thread. See https://codereview.webrtc.org/1687703002/

Review URL: https://codereview.webrtc.org/1812823007

Cr-Commit-Position: refs/heads/master@{#12113}
This commit is contained in:
terelius 2016-03-24 01:51:52 -07:00 committed by Commit bot
parent a4f07887c7
commit 85fa7d5311
11 changed files with 13 additions and 11 deletions

View File

@ -151,6 +151,7 @@ static_library("rtc_base_approved") {
"stringencode.h",
"stringutils.cc",
"stringutils.h",
"swap_queue.h",
"systeminfo.cc",
"systeminfo.h",
"template_util.h",

View File

@ -128,6 +128,7 @@
'stringencode.h',
'stringutils.cc',
'stringutils.h',
'swap_queue.h',
'systeminfo.cc',
'systeminfo.h',
'template_util.h',

View File

@ -103,6 +103,7 @@
'stream_unittest.cc',
'stringencode_unittest.cc',
'stringutils_unittest.cc',
'swap_queue_unittest.cc',
# TODO(ronghuawu): Reenable this test.
# 'systeminfo_unittest.cc',
'task_unittest.cc',

View File

@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef WEBRTC_COMMON_AUDIO_SWAP_QUEUE_H_
#define WEBRTC_COMMON_AUDIO_SWAP_QUEUE_H_
#ifndef WEBRTC_BASE_SWAP_QUEUE_H_
#define WEBRTC_BASE_SWAP_QUEUE_H_
#include <algorithm>
#include <utility>
@ -207,4 +207,4 @@ class SwapQueue {
} // namespace webrtc
#endif // WEBRTC_COMMON_AUDIO_SWAP_QUEUE_H_
#endif // WEBRTC_BASE_SWAP_QUEUE_H_

View File

@ -8,7 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include "webrtc/common_audio/swap_queue.h"
#include "webrtc/base/swap_queue.h"
#include <vector>

View File

@ -87,7 +87,6 @@ source_set("common_audio") {
"signal_processing/vector_scaling_operations.c",
"sparse_fir_filter.cc",
"sparse_fir_filter.h",
"swap_queue.h",
"vad/include/vad.h",
"vad/include/webrtc_vad.h",
"vad/vad.cc",

View File

@ -101,7 +101,6 @@
'signal_processing/vector_scaling_operations.c',
'sparse_fir_filter.cc',
'sparse_fir_filter.h',
'swap_queue.h',
'vad/include/vad.h',
'vad/include/webrtc_vad.h',
'vad/vad.cc',
@ -256,7 +255,6 @@
'signal_processing/real_fft_unittest.cc',
'signal_processing/signal_processing_unittest.cc',
'sparse_fir_filter_unittest.cc',
'swap_queue_unittest.cc',
'vad/vad_core_unittest.cc',
'vad/vad_filterbank_unittest.cc',
'vad/vad_gmm_unittest.cc',

View File

@ -12,10 +12,11 @@
#define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_
#include <memory>
#include <vector>
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/criticalsection.h"
#include "webrtc/common_audio/swap_queue.h"
#include "webrtc/base/swap_queue.h"
#include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "webrtc/modules/audio_processing/render_queue_item_verifier.h"

View File

@ -12,10 +12,11 @@
#define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CONTROL_MOBILE_IMPL_H_
#include <memory>
#include <vector>
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/criticalsection.h"
#include "webrtc/common_audio/swap_queue.h"
#include "webrtc/base/swap_queue.h"
#include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "webrtc/modules/audio_processing/render_queue_item_verifier.h"

View File

@ -16,8 +16,8 @@
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/criticalsection.h"
#include "webrtc/base/swap_queue.h"
#include "webrtc/base/thread_annotations.h"
#include "webrtc/common_audio/swap_queue.h"
#include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "webrtc/modules/audio_processing/render_queue_item_verifier.h"

View File

@ -15,9 +15,9 @@
#include <memory>
#include <vector>
#include "webrtc/base/swap_queue.h"
#include "webrtc/common_audio/lapped_transform.h"
#include "webrtc/common_audio/channel_buffer.h"
#include "webrtc/common_audio/swap_queue.h"
#include "webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h"
#include "webrtc/modules/audio_processing/render_queue_item_verifier.h"
#include "webrtc/modules/audio_processing/vad/voice_activity_detector.h"