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

Unified Diff: media/audio/audio_logging.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_input_writer.h ('k') | media/audio/audio_low_latency_input_output_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_logging.h
diff --git a/media/audio/audio_logging.h b/media/audio/audio_logging.h
index 4d7551f2021d9eb770e887dd80c25a18caa4a753..5b1848ea7a6c0c4e2931152fee868c7e9d8c289a 100644
--- a/media/audio/audio_logging.h
+++ b/media/audio/audio_logging.h
@@ -5,9 +5,9 @@
#ifndef MEDIA_AUDIO_AUDIO_LOGGING_H_
#define MEDIA_AUDIO_AUDIO_LOGGING_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
namespace media {
class AudioParameters;
@@ -76,7 +76,8 @@ class AudioLogFactory {
// Create a new AudioLog object for tracking the behavior for one or more
// instances of the given component. Each instance of an "owning" class must
// create its own AudioLog.
- virtual scoped_ptr<AudioLog> CreateAudioLog(AudioComponent component) = 0;
+ virtual std::unique_ptr<AudioLog> CreateAudioLog(
+ AudioComponent component) = 0;
protected:
virtual ~AudioLogFactory() {}
« no previous file with comments | « media/audio/audio_input_writer.h ('k') | media/audio/audio_low_latency_input_output_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698