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

Unified Diff: ash/metrics/user_metrics_recorder_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
« no previous file with comments | « ash/metrics/user_metrics_recorder.h ('k') | ash/mus/keyboard_ui_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/user_metrics_recorder_unittest.cc
diff --git a/ash/metrics/user_metrics_recorder_unittest.cc b/ash/metrics/user_metrics_recorder_unittest.cc
index f2ffd329f11965ed0ca8a7f358ffa6e7bb815dfa..98bdfe86f22fb3098b712ef3db653ba67d70072a 100644
--- a/ash/metrics/user_metrics_recorder_unittest.cc
+++ b/ash/metrics/user_metrics_recorder_unittest.cc
@@ -4,6 +4,8 @@
#include "ash/metrics/user_metrics_recorder.h"
+#include <memory>
+
#include "ash/shelf/shelf_model.h"
#include "ash/shelf/shelf_util.h"
#include "ash/shell.h"
@@ -12,7 +14,6 @@
#include "ash/test/test_shelf_delegate.h"
#include "ash/test/test_system_tray_delegate.h"
#include "ash/test/user_metrics_recorder_test_api.h"
-#include "base/memory/scoped_ptr.h"
#include "base/test/histogram_tester.h"
#include "ui/aura/window.h"
@@ -62,7 +63,8 @@ class UserMetricsRecorderTest : public test::AshTestBase {
private:
// Test API to access private members of the test target.
- scoped_ptr<test::UserMetricsRecorderTestAPI> user_metrics_recorder_test_api_;
+ std::unique_ptr<test::UserMetricsRecorderTestAPI>
+ user_metrics_recorder_test_api_;
// Histogram value verifier.
base::HistogramTester histograms_;
« no previous file with comments | « ash/metrics/user_metrics_recorder.h ('k') | ash/mus/keyboard_ui_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698