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: components/tracing/child_trace_message_filter_browsertest.cc

Issue 1921923002: Convert //components/[o-t]* 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/tracing/child_trace_message_filter_browsertest.cc
diff --git a/components/tracing/child_trace_message_filter_browsertest.cc b/components/tracing/child_trace_message_filter_browsertest.cc
index 0d88db6d3cc665fdefcdf22842472b822ad80b80..f7709d8884c8cf7ed67ae754c642a1a044fed66a 100644
--- a/components/tracing/child_trace_message_filter_browsertest.cc
+++ b/components/tracing/child_trace_message_filter_browsertest.cc
@@ -4,6 +4,7 @@
#include <stdint.h>
+#include <memory>
#include <tuple>
#include "base/callback.h"
@@ -162,7 +163,7 @@ class ChildTracingTest : public content::RenderViewTest, public IPC::Listener {
}
scoped_refptr<ChildTraceMessageFilter> ctmf_;
- scoped_ptr<MockDumpProvider> mock_dump_provider_;
+ std::unique_ptr<MockDumpProvider> mock_dump_provider_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
base::trace_event::MemoryDumpCallback callback_;
uint32_t wait_for_ipc_message_type_;
« no previous file with comments | « components/tracing/child_trace_message_filter.cc ('k') | components/tracing/child_trace_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698