| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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/video_frame_recorder_host_extension.h" | 5 #include "remoting/host/video_frame_recorder_host_extension.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/json/json_reader.h" | 8 #include "base/json/json_reader.h" |
| 9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/values.h" | 12 #include "base/values.h" |
| 12 #include "remoting/codec/video_encoder_verbatim.h" | 13 #include "remoting/codec/video_encoder_verbatim.h" |
| 13 #include "remoting/host/host_extension_session.h" | 14 #include "remoting/host/host_extension_session.h" |
| 14 #include "remoting/host/video_frame_recorder.h" | 15 #include "remoting/host/video_frame_recorder.h" |
| 15 #include "remoting/proto/control.pb.h" | 16 #include "remoting/proto/control.pb.h" |
| 16 #include "remoting/proto/video.pb.h" | 17 #include "remoting/proto/video.pb.h" |
| 17 #include "remoting/protocol/client_stub.h" | 18 #include "remoting/protocol/client_stub.h" |
| 18 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" | 19 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
| 19 | 20 |
| 20 namespace remoting { | 21 namespace remoting { |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 | 189 |
| 189 scoped_ptr<HostExtensionSession> | 190 scoped_ptr<HostExtensionSession> |
| 190 VideoFrameRecorderHostExtension::CreateExtensionSession( | 191 VideoFrameRecorderHostExtension::CreateExtensionSession( |
| 191 ClientSessionControl* client_session_control, | 192 ClientSessionControl* client_session_control, |
| 192 protocol::ClientStub* client_stub) { | 193 protocol::ClientStub* client_stub) { |
| 193 return make_scoped_ptr( | 194 return make_scoped_ptr( |
| 194 new VideoFrameRecorderHostExtensionSession(max_content_bytes_)); | 195 new VideoFrameRecorderHostExtensionSession(max_content_bytes_)); |
| 195 } | 196 } |
| 196 | 197 |
| 197 } // namespace remoting | 198 } // namespace remoting |
| OLD | NEW |