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

Unified Diff: remoting/protocol/webrtc_video_stream.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU 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 | « remoting/protocol/webrtc_video_renderer_adapter.cc ('k') | remoting/protocol/webrtc_video_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_video_stream.h
diff --git a/remoting/protocol/webrtc_video_stream.h b/remoting/protocol/webrtc_video_stream.h
index 83d71cd3eea50ff95d3e5627903ff0379c5c29e5..8fba34bf4a29c77ffa7949c5e7d2e9d522340ae3 100644
--- a/remoting/protocol/webrtc_video_stream.h
+++ b/remoting/protocol/webrtc_video_stream.h
@@ -7,9 +7,10 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "remoting/protocol/video_stream.h"
@@ -32,7 +33,7 @@ class WebrtcVideoStream : public VideoStream {
WebrtcVideoStream();
~WebrtcVideoStream() override;
- bool Start(scoped_ptr<webrtc::DesktopCapturer> desktop_capturer,
+ bool Start(std::unique_ptr<webrtc::DesktopCapturer> desktop_capturer,
scoped_refptr<webrtc::PeerConnectionInterface> connection,
scoped_refptr<webrtc::PeerConnectionFactoryInterface>
peer_connection_factory);
« no previous file with comments | « remoting/protocol/webrtc_video_renderer_adapter.cc ('k') | remoting/protocol/webrtc_video_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698