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

Unified Diff: components/audio_modem/modem_unittest.cc

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_impl.cc ('k') | components/audio_modem/public/modem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/audio_modem/modem_unittest.cc
diff --git a/components/audio_modem/modem_unittest.cc b/components/audio_modem/modem_unittest.cc
index e82c097f727a5efa2c7a42d9a95925a3231671fb..b18c7f85f57f6ac4f1c18dd66ab9500841f37d91 100644
--- a/components/audio_modem/modem_unittest.cc
+++ b/components/audio_modem/modem_unittest.cc
@@ -4,6 +4,7 @@
#include "components/audio_modem/public/modem.h"
+#include <memory>
#include <vector>
#include "base/bind.h"
@@ -107,8 +108,8 @@ class ModemTest : public testing::Test {
base::MessageLoop message_loop_;
// This order is important. The WhispernetClient needs to outlive the Modem.
- scoped_ptr<WhispernetClient> client_;
- scoped_ptr<ModemImpl> modem_;
+ std::unique_ptr<WhispernetClient> client_;
+ std::unique_ptr<ModemImpl> modem_;
// These will be deleted by the Modem's destructor calling finalize on them.
AudioPlayerStub* audible_player_;
« no previous file with comments | « components/audio_modem/modem_impl.cc ('k') | components/audio_modem/public/modem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698