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

Unified Diff: base/trace_event/trace_event_etw_export_win.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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 | « base/trace_event/trace_event_argument_unittest.cc ('k') | base/trace_event/trace_event_etw_export_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/trace_event_etw_export_win.h
diff --git a/base/trace_event/trace_event_etw_export_win.h b/base/trace_event/trace_event_etw_export_win.h
index 4ae11d602c993b1a9d42dcb1f0178341e64e0596..8ee2d63416949e5b24640c7a18db0644781ace99 100644
--- a/base/trace_event/trace_event_etw_export_win.h
+++ b/base/trace_event/trace_event_etw_export_win.h
@@ -50,7 +50,7 @@ class BASE_EXPORT TraceEventETWExport {
const char** arg_names,
const unsigned char* arg_types,
const unsigned long long* arg_values,
- const scoped_ptr<ConvertableToTraceFormat>* convertable_values);
+ const std::unique_ptr<ConvertableToTraceFormat>* convertable_values);
// Exports an ETW event that marks the end of a complete event.
static void AddCompleteEndEvent(const char* name);
@@ -87,7 +87,7 @@ class BASE_EXPORT TraceEventETWExport {
// Background thread that monitors changes to the ETW keyword and updates
// the enabled categories when a change occurs.
- scoped_ptr<ETWKeywordUpdateThread> keyword_update_thread_;
+ std::unique_ptr<ETWKeywordUpdateThread> keyword_update_thread_;
PlatformThreadHandle keyword_update_thread_handle_;
DISALLOW_COPY_AND_ASSIGN(TraceEventETWExport);
« no previous file with comments | « base/trace_event/trace_event_argument_unittest.cc ('k') | base/trace_event/trace_event_etw_export_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698