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

Unified Diff: chrome/browser/media/cast_transport_host_filter.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 years 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/cast_transport_host_filter.h
diff --git a/chrome/browser/media/cast_transport_host_filter.h b/chrome/browser/media/cast_transport_host_filter.h
index c83b6ee5d1e9f3d637ff70a2f883e7d2f0e798b4..82aac94c4c3fb8c358d6511376d135d0fe05db93 100644
--- a/chrome/browser/media/cast_transport_host_filter.h
+++ b/chrome/browser/media/cast_transport_host_filter.h
@@ -93,7 +93,7 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
int32_t channel_id,
const std::vector<media::cast::FrameEvent>& events);
- IDMap<media::cast::CastTransport, IDMapOwnPointer> id_map_;
+ IDMap<std::unique_ptr<media::cast::CastTransport>> id_map_;
// Clock used by Cast transport.
base::DefaultTickClock clock_;
@@ -105,7 +105,7 @@ class CastTransportHostFilter : public content::BrowserMessageFilter {
// This map records all active remoting senders. It uses the unique RTP
// stream ID as the key.
- IDMap<CastRemotingSender, IDMapOwnPointer> remoting_sender_map_;
+ IDMap<std::unique_ptr<CastRemotingSender>> remoting_sender_map_;
// This map stores all active remoting streams for each channel. It uses the
// channel ID as the key.
« no previous file with comments | « chrome/browser/media/android/router/media_router_android.h ('k') | chrome/browser/metrics/subprocess_metrics_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698