Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / remoting / host / host_extension_session.cc
blob5f548655a38e4bda6b87ac3bc2f9d3387c7386e7
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "remoting/host/host_extension_session.h"
7 #include "remoting/codec/video_encoder.h"
8 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
10 namespace remoting {
12 scoped_ptr<webrtc::DesktopCapturer> HostExtensionSession::OnCreateVideoCapturer(
13 scoped_ptr<webrtc::DesktopCapturer> capturer) {
14 return capturer.Pass();
17 scoped_ptr<VideoEncoder> HostExtensionSession::OnCreateVideoEncoder(
18 scoped_ptr<VideoEncoder> encoder) {
19 return encoder.Pass();
22 bool HostExtensionSession::ModifiesVideoPipeline() const {
23 return false;
26 } // namespace remoting