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

Unified Diff: chromecast/renderer/media/media_channel_proxy.h

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « chromecast/renderer/media/hole_frame_factory.cc ('k') | chromecast/renderer/media/media_channel_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/renderer/media/media_channel_proxy.h
diff --git a/chromecast/renderer/media/media_channel_proxy.h b/chromecast/renderer/media/media_channel_proxy.h
index c7c46965bf66b68109e66784a66d80450b9c7eca..3bf6ecbcde984152eb37cc11c471f23f5f235f1f 100644
--- a/chromecast/renderer/media/media_channel_proxy.h
+++ b/chromecast/renderer/media/media_channel_proxy.h
@@ -5,9 +5,10 @@
#ifndef CHROMECAST_RENDERER_MEDIA_MEDIA_CHANNEL_PROXY_H_
#define CHROMECAST_RENDERER_MEDIA_MEDIA_CHANNEL_PROXY_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "chromecast/media/cma/pipeline/load_type.h"
#include "chromecast/renderer/media/cma_message_filter_proxy.h"
@@ -44,7 +45,7 @@ class MediaChannelProxy
const CmaMessageFilterProxy::VideoDelegate& video_delegate);
// Sends an IPC message over this CMA ipc channel.
- bool Send(scoped_ptr<IPC::Message> message);
+ bool Send(std::unique_ptr<IPC::Message> message);
private:
friend class base::RefCountedThreadSafe<MediaChannelProxy>;
@@ -65,4 +66,4 @@ class MediaChannelProxy
} // namespace media
} // namespace chromecast
-#endif // CHROMECAST_RENDERER_MEDIA_MEDIA_CHANNEL_PROXY_H_
+#endif // CHROMECAST_RENDERER_MEDIA_MEDIA_CHANNEL_PROXY_H_
« no previous file with comments | « chromecast/renderer/media/hole_frame_factory.cc ('k') | chromecast/renderer/media/media_channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698