Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Unified Diff: remoting/protocol/audio_pump_unittest.cc

Issue 2627433003: Remove ScopedVector from remoting/. (Closed)
Patch Set: rev Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/audio_pump_unittest.cc
diff --git a/remoting/protocol/audio_pump_unittest.cc b/remoting/protocol/audio_pump_unittest.cc
index 67ce2ac9ed1e1677cb58afd44473e095c9cec552..806cd0a7ece8e36fabfd5cf353487952526ef0d1 100644
--- a/remoting/protocol/audio_pump_unittest.cc
+++ b/remoting/protocol/audio_pump_unittest.cc
@@ -6,11 +6,12 @@
#include <stddef.h>
+#include <memory>
#include <utility>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ptr_util.h"
-#include "base/memory/scoped_vector.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "remoting/codec/audio_encoder.h"
@@ -69,7 +70,7 @@ class AudioPumpTest : public testing::Test, public protocol::AudioStub {
std::unique_ptr<AudioPump> pump_;
- ScopedVector<AudioPacket> sent_packets_;
+ std::vector<std::unique_ptr<AudioPacket>> sent_packets_;
std::vector<base::Closure> done_closures_;
private:
« no previous file with comments | « remoting/host/host_extension_session_manager.cc ('k') | remoting/protocol/client_video_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698