| Index: remoting/codec/video_encoder.h | 
| diff --git a/remoting/codec/video_encoder.h b/remoting/codec/video_encoder.h | 
| index 99018f7d4e6c4ad2cde7cd2454722576f1f06351..2920b260b500d75ffdb27f8c06fd88fbf52d37a5 100644 | 
| --- a/remoting/codec/video_encoder.h | 
| +++ b/remoting/codec/video_encoder.h | 
| @@ -14,7 +14,9 @@ class DesktopFrame; | 
| }  // namespace webrtc | 
|  | 
| namespace remoting { | 
| - | 
| +namespace protocol { | 
| +class SessionConfig; | 
| +}  // namespace protocol | 
| class VideoPacket; | 
|  | 
| // A class to perform the task of encoding a continuous stream of images. The | 
| @@ -34,6 +36,9 @@ class VideoEncoder { | 
| // there is no work to do. | 
| virtual std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame, | 
| uint32_t flags) = 0; | 
| + | 
| +  static std::unique_ptr<VideoEncoder> Create( | 
| +      const protocol::SessionConfig& config); | 
| }; | 
|  | 
| }  // namespace remoting | 
|  |