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

Unified Diff: chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.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/backend/alsa/media_pipeline_backend_alsa.h
diff --git a/chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h b/chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h
index a492d0ba1c0b669d7cfabbcbb39d4ec68c369a80..5fff79bd6a7f59c38694af112bda730b9660ab73 100644
--- a/chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h
+++ b/chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h
@@ -5,9 +5,10 @@
#ifndef CHROMECAST_MEDIA_CMA_BACKEND_ALSA_MEDIA_PIPELINE_BACKEND_ALSA_H_
#define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_MEDIA_PIPELINE_BACKEND_ALSA_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "chromecast/public/media/media_pipeline_backend.h"
#include "chromecast/public/media/media_pipeline_device_params.h"
@@ -53,8 +54,8 @@ class MediaPipelineBackendAlsa : public MediaPipelineBackend {
State state_;
const MediaPipelineDeviceParams params_;
- scoped_ptr<VideoDecoderDefault> video_decoder_;
- scoped_ptr<AudioDecoderAlsa> audio_decoder_;
+ std::unique_ptr<VideoDecoderDefault> video_decoder_;
+ std::unique_ptr<AudioDecoderAlsa> audio_decoder_;
DISALLOW_COPY_AND_ASSIGN(MediaPipelineBackendAlsa);
};
« no previous file with comments | « chromecast/media/cma/backend/alsa/cast_media_shlib.cc ('k') | chromecast/media/cma/backend/alsa/mock_alsa_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698