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

Unified Diff: components/audio_modem/audio_player_impl.h

Issue 1921973002: Convert //components/[a-e]* 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 | « components/arc/test/fake_app_instance.h ('k') | components/audio_modem/audio_player_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/audio_modem/audio_player_impl.h
diff --git a/components/audio_modem/audio_player_impl.h b/components/audio_modem/audio_player_impl.h
index 50f10bf98874eefec319033a774a82ba2f951926..3507c699d0abcc14164981c5a7fabbe4433b1ca1 100644
--- a/components/audio_modem/audio_player_impl.h
+++ b/components/audio_modem/audio_player_impl.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/gtest_prod_util.h"
@@ -70,7 +71,7 @@ class AudioPlayerImpl final
// Self-deleting object.
media::AudioOutputStream* stream_;
- scoped_ptr<media::AudioOutputStream> output_stream_for_testing_;
+ std::unique_ptr<media::AudioOutputStream> output_stream_for_testing_;
// All fields below here are protected by this lock.
base::Lock state_lock_;
« no previous file with comments | « components/arc/test/fake_app_instance.h ('k') | components/audio_modem/audio_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698