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

Unified Diff: ash/system/chromeos/power/power_status_unittest.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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: ash/system/chromeos/power/power_status_unittest.cc
diff --git a/ash/system/chromeos/power/power_status_unittest.cc b/ash/system/chromeos/power/power_status_unittest.cc
index 12104f7a0b8e0644921d756e4b57d583c0d9974a..6fc3374ee6dd44d32cf9eee37eb55d0f90a63cc4 100644
--- a/ash/system/chromeos/power/power_status_unittest.cc
+++ b/ash/system/chromeos/power/power_status_unittest.cc
@@ -4,7 +4,8 @@
#include "ash/system/chromeos/power/power_status.h"
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/message_loop/message_loop.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -54,7 +55,7 @@ class PowerStatusTest : public testing::Test {
protected:
base::MessageLoopForUI message_loop_;
PowerStatus* power_status_; // Not owned.
- scoped_ptr<TestObserver> test_observer_;
+ std::unique_ptr<TestObserver> test_observer_;
private:
DISALLOW_COPY_AND_ASSIGN(PowerStatusTest);
« no previous file with comments | « ash/system/chromeos/power/power_event_observer_unittest.cc ('k') | ash/system/chromeos/power/power_status_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698