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

Unified Diff: media/audio/audio_manager_factory.h

Issue 1911913002: Convert //media/audio 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 | « media/audio/audio_manager_base.cc ('k') | media/audio/audio_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager_factory.h
diff --git a/media/audio/audio_manager_factory.h b/media/audio/audio_manager_factory.h
index 72501486d1af6bcac315d17dd40ead559859268b..81c5fe52098e31ec88cc2ccac7b3576a5c6eb034 100644
--- a/media/audio/audio_manager_factory.h
+++ b/media/audio/audio_manager_factory.h
@@ -5,8 +5,9 @@
#ifndef MEDIA_AUDIO_AUDIO_MANAGER_FACTORY_H_
#define MEDIA_AUDIO_AUDIO_MANAGER_FACTORY_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "media/base/media_export.h"
namespace base {
@@ -27,7 +28,7 @@ class MEDIA_EXPORT AudioManagerFactory {
// Creates an instance of AudioManager implementation. Caller owns the
// returned instance. |audio_log_factory| must outlive the returned instance.
- virtual scoped_ptr<AudioManager, AudioManagerDeleter> CreateInstance(
+ virtual std::unique_ptr<AudioManager, AudioManagerDeleter> CreateInstance(
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner,
AudioLogFactory* audio_log_factory) = 0;
« no previous file with comments | « media/audio/audio_manager_base.cc ('k') | media/audio/audio_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698