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

Unified Diff: chrome/browser/media/webrtc/media_capture_devices_dispatcher.h

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Address comments from zea@ Created 3 years, 9 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: chrome/browser/media/webrtc/media_capture_devices_dispatcher.h
diff --git a/chrome/browser/media/webrtc/media_capture_devices_dispatcher.h b/chrome/browser/media/webrtc/media_capture_devices_dispatcher.h
index da7aba46dccf980f9f07d9a597493574466690c5..4100db15365feb514a0146c49a734611bee4e09d 100644
--- a/chrome/browser/media/webrtc/media_capture_devices_dispatcher.h
+++ b/chrome/browser/media/webrtc/media_capture_devices_dispatcher.h
@@ -10,10 +10,10 @@
#include <map>
#include <memory>
#include <string>
+#include <vector>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/singleton.h"
#include "base/observer_list.h"
#include "content/public/browser/media_observer.h"
@@ -207,7 +207,7 @@ class MediaCaptureDevicesDispatcher : public content::MediaObserver {
std::unique_ptr<DesktopStreamsRegistry> desktop_streams_registry_;
// Handlers for processing media access requests.
- ScopedVector<MediaAccessHandler> media_access_handlers_;
+ std::vector<std::unique_ptr<MediaAccessHandler>> media_access_handlers_;
DISALLOW_COPY_AND_ASSIGN(MediaCaptureDevicesDispatcher);
};

Powered by Google App Engine
This is Rietveld 408576698