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

Unified Diff: components/device_event_log/device_event_log_impl_unittest.cc

Issue 1921973002: Convert //components/[a-e]* 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: components/device_event_log/device_event_log_impl_unittest.cc
diff --git a/components/device_event_log/device_event_log_impl_unittest.cc b/components/device_event_log/device_event_log_impl_unittest.cc
index 23511318560d14eed976a29891afac6cc4b14ae8..1b86243683351747fb04d897ab5f571d4eb82fad 100644
--- a/components/device_event_log/device_event_log_impl_unittest.cc
+++ b/components/device_event_log/device_event_log_impl_unittest.cc
@@ -7,13 +7,13 @@
#include <stddef.h>
#include <algorithm>
+#include <memory>
#include <string>
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/format_macros.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string_split.h"
#include "base/strings/stringprintf.h"
#include "base/test/test_simple_task_runner.h"
@@ -119,7 +119,7 @@ class DeviceEventLogTest : public testing::Test {
size_t GetMaxEntries() const { return impl_->max_entries(); }
scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
- scoped_ptr<DeviceEventLogImpl> impl_;
+ std::unique_ptr<DeviceEventLogImpl> impl_;
private:
DISALLOW_COPY_AND_ASSIGN(DeviceEventLogTest);
« no previous file with comments | « components/device_event_log/device_event_log_impl.cc ('k') | components/devtools_discovery/devtools_discovery_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698