OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/host_mock_objects.h" | 5 #include "remoting/host/host_mock_objects.h" |
6 | 6 |
7 #include "base/message_loop/message_loop_proxy.h" | |
8 #include "base/single_thread_task_runner.h" | 7 #include "base/single_thread_task_runner.h" |
9 #include "net/base/ip_endpoint.h" | 8 #include "net/base/ip_endpoint.h" |
10 #include "remoting/base/auto_thread_task_runner.h" | 9 #include "remoting/base/auto_thread_task_runner.h" |
11 #include "remoting/codec/audio_encoder.h" | 10 #include "remoting/codec/audio_encoder.h" |
12 #include "remoting/codec/video_encoder.h" | 11 #include "remoting/codec/video_encoder.h" |
13 #include "remoting/host/audio_capturer.h" | 12 #include "remoting/host/audio_capturer.h" |
14 #include "remoting/host/input_injector.h" | 13 #include "remoting/host/input_injector.h" |
15 #include "remoting/proto/event.pb.h" | 14 #include "remoting/proto/event.pb.h" |
16 #include "remoting/proto/video.pb.h" | 15 #include "remoting/proto/video.pb.h" |
17 #include "remoting/protocol/transport.h" | 16 #include "remoting/protocol/transport.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 94 |
96 MockVideoEncoder::~MockVideoEncoder() { | 95 MockVideoEncoder::~MockVideoEncoder() { |
97 } | 96 } |
98 | 97 |
99 scoped_ptr<VideoPacket> MockVideoEncoder::Encode( | 98 scoped_ptr<VideoPacket> MockVideoEncoder::Encode( |
100 const webrtc::DesktopFrame& frame) { | 99 const webrtc::DesktopFrame& frame) { |
101 return make_scoped_ptr(EncodePtr(frame)); | 100 return make_scoped_ptr(EncodePtr(frame)); |
102 } | 101 } |
103 | 102 |
104 } // namespace remoting | 103 } // namespace remoting |
OLD | NEW |