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

Unified Diff: chromecast/renderer/media/cma_message_filter_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
Index: chromecast/renderer/media/cma_message_filter_proxy.h
diff --git a/chromecast/renderer/media/cma_message_filter_proxy.h b/chromecast/renderer/media/cma_message_filter_proxy.h
index ce6be22b3662336d50ef79f636db8b6824f46fed..74065767372a22ef6e0a1f61b80fbf1ee5ff1d56 100644
--- a/chromecast/renderer/media/cma_message_filter_proxy.h
+++ b/chromecast/renderer/media/cma_message_filter_proxy.h
@@ -5,9 +5,10 @@
#ifndef CHROMECAST_RENDERER_MEDIA_CMA_MESSAGE_FILTER_PROXY_H_
#define CHROMECAST_RENDERER_MEDIA_CMA_MESSAGE_FILTER_PROXY_H_
+#include <memory>
+
#include "base/id_map.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
#include "base/sync_socket.h"
#include "chromecast/common/media/cma_ipc_common.h"
@@ -73,7 +74,7 @@ class CmaMessageFilterProxy : public IPC::MessageFilter {
bool SetVideoDelegate(int id, const VideoDelegate& video_delegate);
// Sends an IPC message using |channel_|.
- bool Send(scoped_ptr<IPC::Message> message);
+ bool Send(std::unique_ptr<IPC::Message> message);
// IPC::ChannelProxy::MessageFilter implementation. Called on IO thread.
bool OnMessageReceived(const IPC::Message& message) override;
« no previous file with comments | « chromecast/renderer/media/chromecast_media_renderer_factory.cc ('k') | chromecast/renderer/media/cma_message_filter_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698