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

Unified Diff: content/browser/tracing/power_tracing_agent.h

Issue 1874893002: Convert //content/browser 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: content/browser/tracing/power_tracing_agent.h
diff --git a/content/browser/tracing/power_tracing_agent.h b/content/browser/tracing/power_tracing_agent.h
index 0fa97fe5dd58ea35c4952309ea7d6501df41e68f..ae5079e4cc29248784c02a8f25c5af81a67f58cb 100644
--- a/content/browser/tracing/power_tracing_agent.h
+++ b/content/browser/tracing/power_tracing_agent.h
@@ -5,9 +5,10 @@
#ifndef CONTENT_BROWSER_TRACING_POWER_TRACING_AGENT_H_
#define CONTENT_BROWSER_TRACING_POWER_TRACING_AGENT_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted_memory.h"
-#include "base/memory/scoped_ptr.h"
#include "base/threading/thread.h"
#include "base/trace_event/tracing_agent.h"
#include "content/public/browser/browser_thread.h"
@@ -68,7 +69,7 @@ class PowerTracingAgent : public base::trace_event::TracingAgent,
// All interactions with the BattOrAgent (after construction) must happen on
// the IO thread.
- scoped_ptr<battor::BattOrAgent, BrowserThread::DeleteOnIOThread>
+ std::unique_ptr<battor::BattOrAgent, BrowserThread::DeleteOnIOThread>
battor_agent_;
StartAgentTracingCallback start_tracing_callback_;
« no previous file with comments | « content/browser/tracing/memory_tracing_browsertest.cc ('k') | content/browser/tracing/tracing_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698