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

Unified Diff: remoting/host/host_extension_session.cc

Issue 468613002: Readability review. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 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/host/host_extension_session.h ('k') | remoting/host/host_extension_session_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_extension_session.cc
diff --git a/remoting/host/host_extension_session.cc b/remoting/host/host_extension_session.cc
index 5f548655a38e4bda6b87ac3bc2f9d3387c7386e7..c2d8076bdf5b59e15004478a9ed779bcaad2cf41 100644
--- a/remoting/host/host_extension_session.cc
+++ b/remoting/host/host_extension_session.cc
@@ -9,14 +9,12 @@
namespace remoting {
-scoped_ptr<webrtc::DesktopCapturer> HostExtensionSession::OnCreateVideoCapturer(
- scoped_ptr<webrtc::DesktopCapturer> capturer) {
- return capturer.Pass();
+void HostExtensionSession::OnCreateVideoCapturer(
+ scoped_ptr<webrtc::DesktopCapturer>* capturer) {
}
-scoped_ptr<VideoEncoder> HostExtensionSession::OnCreateVideoEncoder(
- scoped_ptr<VideoEncoder> encoder) {
- return encoder.Pass();
+void HostExtensionSession::OnCreateVideoEncoder(
+ scoped_ptr<VideoEncoder>* encoder) {
}
bool HostExtensionSession::ModifiesVideoPipeline() const {
« no previous file with comments | « remoting/host/host_extension_session.h ('k') | remoting/host/host_extension_session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698