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

Unified Diff: remoting/protocol/webrtc_transport.h

Issue 2627433003: Remove ScopedVector from remoting/. (Closed)
Patch Set: 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/webrtc_transport.h
diff --git a/remoting/protocol/webrtc_transport.h b/remoting/protocol/webrtc_transport.h
index 8e5fb1bce4493a65bfb403b83324cccac11e2f67..faf72be593345050b4d904ff1d54c230a37ff53f 100644
--- a/remoting/protocol/webrtc_transport.h
+++ b/remoting/protocol/webrtc_transport.h
@@ -7,10 +7,10 @@
#include <memory>
#include <string>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
#include "base/timer/timer.h"
@@ -141,7 +141,8 @@ class WebrtcTransport : public Transport {
std::unique_ptr<buzz::XmlElement> pending_transport_info_message_;
base::OneShotTimer transport_info_timer_;
- ScopedVector<webrtc::IceCandidateInterface> pending_incoming_candidates_;
+ std::vector<std::unique_ptr<webrtc::IceCandidateInterface>>
+ pending_incoming_candidates_;
base::WeakPtrFactory<WebrtcTransport> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698