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

Unified Diff: media/cast/net/rtp/cast_message_builder_unittest.cc

Issue 1905763002: Convert //media/cast 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/cast/net/rtcp/test_rtcp_packet_builder.cc ('k') | media/cast/net/rtp/framer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtp/cast_message_builder_unittest.cc
diff --git a/media/cast/net/rtp/cast_message_builder_unittest.cc b/media/cast/net/rtp/cast_message_builder_unittest.cc
index 6d06fff7e9326ec8d4fc64d1482416bf01bceda6..441a86a6d848a147cd7d98ce1df74912a0295f0c 100644
--- a/media/cast/net/rtp/cast_message_builder_unittest.cc
+++ b/media/cast/net/rtp/cast_message_builder_unittest.cc
@@ -2,14 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "media/cast/net/rtp/cast_message_builder.h"
+
#include <stddef.h>
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/test/simple_test_tick_clock.h"
#include "media/cast/net/rtcp/rtcp_defines.h"
-#include "media/cast/net/rtp/cast_message_builder.h"
#include "media/cast/net/rtp/framer.h"
#include "media/cast/net/rtp/rtp_defines.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -137,7 +139,7 @@ class CastMessageBuilderTest : public ::testing::Test {
NackFeedbackVerification feedback_;
Framer framer_;
- scoped_ptr<CastMessageBuilder> cast_msg_builder_;
+ std::unique_ptr<CastMessageBuilder> cast_msg_builder_;
RtpCastHeader rtp_header_;
base::SimpleTestTickClock testing_clock_;
« no previous file with comments | « media/cast/net/rtcp/test_rtcp_packet_builder.cc ('k') | media/cast/net/rtp/framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698