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

Unified Diff: content/public/browser/render_process_host.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/public/browser/presentation_session_message.h ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index f20c2ebb5ca1abcf0ebe0a6cd65eef4295622467..f0274201ddc9b8650ecfe7c80b1e988029339b7c 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -229,10 +229,11 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
base::Callback<void(const std::string&)> callback) = 0;
virtual void ClearWebRtcLogMessageCallback() = 0;
- typedef base::Callback<void(scoped_ptr<uint8_t[]> packet_header,
+ typedef base::Callback<void(std::unique_ptr<uint8_t[]> packet_header,
size_t header_length,
size_t packet_length,
- bool incoming)> WebRtcRtpPacketCallback;
+ bool incoming)>
+ WebRtcRtpPacketCallback;
typedef base::Callback<void(bool incoming, bool outgoing)>
WebRtcStopRtpDumpCallback;
@@ -261,7 +262,7 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// between the Renderer and the Browser, the allocator is created when the
// process is created and later retrieved by the SubprocessMetricsProvider
// for management.
- virtual scoped_ptr<base::SharedPersistentMemoryAllocator>
+ virtual std::unique_ptr<base::SharedPersistentMemoryAllocator>
TakeMetricsAllocator() = 0;
// PlzNavigate
« no previous file with comments | « content/public/browser/presentation_session_message.h ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698