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

Unified Diff: chromecast/media/cma/base/buffering_controller_unittest.cc

Issue 1875623002: Convert //chromecast 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
Index: chromecast/media/cma/base/buffering_controller_unittest.cc
diff --git a/chromecast/media/cma/base/buffering_controller_unittest.cc b/chromecast/media/cma/base/buffering_controller_unittest.cc
index 57210e9dddec81cc7ef83c39d6adf98cab432d07..503b430cd9e11e5bbf56640ba61ff483b0575a05 100644
--- a/chromecast/media/cma/base/buffering_controller_unittest.cc
+++ b/chromecast/media/cma/base/buffering_controller_unittest.cc
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chromecast/media/cma/base/buffering_controller.h"
+
+#include <memory>
+
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/logging.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
-#include "chromecast/media/cma/base/buffering_controller.h"
#include "chromecast/media/cma/base/buffering_state.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -43,7 +45,7 @@ class BufferingControllerTest : public testing::Test {
~BufferingControllerTest() override;
protected:
- scoped_ptr<BufferingController> buffering_controller_;
+ std::unique_ptr<BufferingController> buffering_controller_;
MockBufferingControllerClient client_;
« no previous file with comments | « chromecast/media/cma/base/balanced_media_task_runner_unittest.cc ('k') | chromecast/media/cma/base/buffering_frame_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698