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

Unified Diff: chromecast/base/system_time_change_notifier_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
« no previous file with comments | « chromecast/base/serializers_unittest.cc ('k') | chromecast/browser/android/cast_window_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/system_time_change_notifier_unittest.cc
diff --git a/chromecast/base/system_time_change_notifier_unittest.cc b/chromecast/base/system_time_change_notifier_unittest.cc
index 2a3c19c7050068eb504fa8a4c4f83fa0f1764cbd..142a17e0504e85184e33e0d7675b95efd541d497 100644
--- a/chromecast/base/system_time_change_notifier_unittest.cc
+++ b/chromecast/base/system_time_change_notifier_unittest.cc
@@ -4,10 +4,11 @@
#include "chromecast/base/system_time_change_notifier.h"
+#include <memory>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/sequenced_task_runner.h"
@@ -86,9 +87,9 @@ class SystemTimeChangeNotifierTest : public testing::Test {
run_loop.Run();
}
- scoped_ptr<base::MessageLoop> message_loop_;
- scoped_ptr<SystemTimeChangeNotifierPeriodicMonitor> notifier_;
- scoped_ptr<TimeChangeObserver> observer_;
+ std::unique_ptr<base::MessageLoop> message_loop_;
+ std::unique_ptr<SystemTimeChangeNotifierPeriodicMonitor> notifier_;
+ std::unique_ptr<TimeChangeObserver> observer_;
};
TEST_F(SystemTimeChangeNotifierTest, NotChanged) {
« no previous file with comments | « chromecast/base/serializers_unittest.cc ('k') | chromecast/browser/android/cast_window_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698