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

Unified Diff: components/audio_modem/public/modem.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/audio_modem/modem_unittest.cc ('k') | components/audio_modem/test/random_samples.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/audio_modem/public/modem.h
diff --git a/components/audio_modem/public/modem.h b/components/audio_modem/public/modem.h
index 09ab399d5b40f151a0e8848a8fa4f9d5dc42d4c7..4dfeeeadb8b799f353ba2d652a93cccaf0291eda 100644
--- a/components/audio_modem/public/modem.h
+++ b/components/audio_modem/public/modem.h
@@ -5,9 +5,9 @@
#ifndef COMPONENTS_AUDIO_MODEM_PUBLIC_MODEM_H_
#define COMPONENTS_AUDIO_MODEM_PUBLIC_MODEM_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "components/audio_modem/public/audio_modem_types.h"
namespace audio_modem {
@@ -38,7 +38,7 @@ class Modem {
virtual void SetTokenParams(AudioType type,
const TokenParameters& params) = 0;
- static scoped_ptr<Modem> Create();
+ static std::unique_ptr<Modem> Create();
};
} // namespace audio_modem
« no previous file with comments | « components/audio_modem/modem_unittest.cc ('k') | components/audio_modem/test/random_samples.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698