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

Unified Diff: chromecast/media/cma/backend/alsa/mock_alsa_wrapper.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/mock_alsa_wrapper.h
diff --git a/chromecast/media/cma/backend/alsa/mock_alsa_wrapper.h b/chromecast/media/cma/backend/alsa/mock_alsa_wrapper.h
index 071e934d5c669dd85548de151857abbfe3c08b1e..0c14e6c7c3af24db45c43b83901c116556da0510 100644
--- a/chromecast/media/cma/backend/alsa/mock_alsa_wrapper.h
+++ b/chromecast/media/cma/backend/alsa/mock_alsa_wrapper.h
@@ -5,10 +5,10 @@
#ifndef CHROMECAST_MEDIA_CMA_BACKEND_ALSA_MOCK_ALSA_WRAPPER_H_
#define CHROMECAST_MEDIA_CMA_BACKEND_ALSA_MOCK_ALSA_WRAPPER_H_
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chromecast/media/cma/backend/alsa/alsa_wrapper.h"
#include "media/audio/alsa/alsa_wrapper.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -148,7 +148,7 @@ class MockAlsaWrapper : public AlsaWrapper {
class FakeAlsaWrapper;
// Certain calls will be delegated to this class.
- scoped_ptr<FakeAlsaWrapper> fake_;
+ std::unique_ptr<FakeAlsaWrapper> fake_;
DISALLOW_COPY_AND_ASSIGN(MockAlsaWrapper);
};
« no previous file with comments | « chromecast/media/cma/backend/alsa/media_pipeline_backend_alsa.h ('k') | chromecast/media/cma/backend/alsa/stream_mixer_alsa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698