Replace std::deque and std::queue in //content.
These are replaced with the base versions base::circular_deque and base::queue.
Typedefs were replaced with using statements in changed code, and adjacent
typedefs were also converted.
RTCTimestamps struct in rtc_video_encoder.cc was made copyable and moveable
(it's just an int64 and an int32) to support being put in a circular_deque.
BrowsingDataRemoverImpl::RemovalTask was made move-only (from previously
not movable or copyable).
BUG=757232
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
Change-Id: Ib83f929ae4c014ae0d3766a57e9cb56cba446e2b
Reviewed-on: https://chromium-review.googlesource.com/656066
Commit-Queue: Brett Wilson <[email protected]>
Reviewed-by: Dmitry Gozman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#501169}
diff --git a/content/browser/byte_stream_unittest.cc b/content/browser/byte_stream_unittest.cc
index f233a41..e774da1 100644
--- a/content/browser/byte_stream_unittest.cc
+++ b/content/browser/byte_stream_unittest.cc
@@ -6,11 +6,11 @@
#include <stddef.h>
-#include <deque>
#include <limits>
#include "base/bind.h"
#include "base/callback.h"
+#include "base/containers/circular_deque.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
@@ -94,8 +94,8 @@
private:
int producing_seed_key_;
int consuming_seed_key_;
- std::deque<char*> pointer_queue_;
- std::deque<size_t> length_queue_;
+ base::circular_deque<char*> pointer_queue_;
+ base::circular_deque<size_t> length_queue_;
};
ByteStreamTest::ByteStreamTest()