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

Unified Diff: ash/test/shelf_button_pressed_metric_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: 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/test/shelf_button_pressed_metric_tracker_test_api.h
diff --git a/ash/test/shelf_button_pressed_metric_tracker_test_api.h b/ash/test/shelf_button_pressed_metric_tracker_test_api.h
index c0206863ba233c1cbdefa0ee83cd7bc663051f0c..874365b0f7fe24d3468f130e3e855b3476e5c66b 100644
--- a/ash/test/shelf_button_pressed_metric_tracker_test_api.h
+++ b/ash/test/shelf_button_pressed_metric_tracker_test_api.h
@@ -7,8 +7,9 @@
#include "ash/shelf/shelf_button_pressed_metric_tracker.h"
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/events/event.h"
namespace base {
@@ -25,7 +26,7 @@ class ShelfButtonPressedMetricTrackerTestAPI {
~ShelfButtonPressedMetricTrackerTestAPI();
// Set's the |tick_clock_| on the internal ShelfButtonPressedMetricTracker.
- void SetTickClock(scoped_ptr<base::TickClock> tick_clock);
+ void SetTickClock(std::unique_ptr<base::TickClock> tick_clock);
private:
ShelfButtonPressedMetricTracker* shelf_button_pressed_metric_tracker_;

Powered by Google App Engine
This is Rietveld 408576698