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

Unified Diff: ash/test/task_switch_time_tracker_test_api.h

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
« no previous file with comments | « ash/test/shelf_view_test_api.cc ('k') | ash/test/task_switch_time_tracker_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/task_switch_time_tracker_test_api.h
diff --git a/ash/test/task_switch_time_tracker_test_api.h b/ash/test/task_switch_time_tracker_test_api.h
index b45dfe093b95a95120321523c6bf522f8b6bdbda..c9a617eeaf4e048beb5932fda240e5074c15e579 100644
--- a/ash/test/task_switch_time_tracker_test_api.h
+++ b/ash/test/task_switch_time_tracker_test_api.h
@@ -5,10 +5,10 @@
#ifndef ASH_TEST_TASK_SWITCH_TIME_TRACKER_TEST_API_H_
#define ASH_TEST_TASK_SWITCH_TIME_TRACKER_TEST_API_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
namespace base {
@@ -43,7 +43,7 @@ class TaskSwitchTimeTrackerTestAPI {
base::SimpleTestTickClock* tick_clock_;
// The TaskSwitchTimeTracker to provide internal access to.
- scoped_ptr<TaskSwitchTimeTracker> time_tracker_;
+ std::unique_ptr<TaskSwitchTimeTracker> time_tracker_;
DISALLOW_COPY_AND_ASSIGN(TaskSwitchTimeTrackerTestAPI);
};
« no previous file with comments | « ash/test/shelf_view_test_api.cc ('k') | ash/test/task_switch_time_tracker_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698