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

Unified Diff: chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.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/media/cma/ipc_streamer/decrypt_config_marshaller.h
diff --git a/chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.h b/chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.h
index 7d32d1b8bb8188625d2faff1d5b0f830d177d5b9..343a45cd0a63b303427db4b8434cb08b4f199508 100644
--- a/chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.h
+++ b/chromecast/media/cma/ipc_streamer/decrypt_config_marshaller.h
@@ -5,7 +5,7 @@
#ifndef CHROMECAST_MEDIA_CMA_IPC_STREAMER_DECRYPT_CONFIG_MARSHALLER_H_
#define CHROMECAST_MEDIA_CMA_IPC_STREAMER_DECRYPT_CONFIG_MARSHALLER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
namespace media {
class DecryptConfig;
@@ -22,7 +22,7 @@ class DecryptConfigMarshaller {
static void Write(const CastDecryptConfig& config, MediaMessage* msg);
// Returns a DecryptConfig from its serialized structure.
- static scoped_ptr<CastDecryptConfig> Read(MediaMessage* msg);
+ static std::unique_ptr<CastDecryptConfig> Read(MediaMessage* msg);
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698