| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef REMOTING_PROTOCOL_VIDEO_STREAM_H_ | 5 #ifndef REMOTING_PROTOCOL_VIDEO_STREAM_H_ |
| 6 #define REMOTING_PROTOCOL_VIDEO_STREAM_H_ | 6 #define REMOTING_PROTOCOL_VIDEO_STREAM_H_ |
| 7 | 7 |
| 8 #include <cstdint> |
| 9 |
| 8 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 9 | 11 |
| 10 namespace webrtc { | 12 namespace webrtc { |
| 11 class DesktopSize; | 13 class DesktopSize; |
| 12 } // namespace webrtc | 14 } // namespace webrtc |
| 13 | 15 |
| 14 namespace remoting { | 16 namespace remoting { |
| 15 namespace protocol { | 17 namespace protocol { |
| 16 | 18 |
| 17 class VideoStream { | 19 class VideoStream { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 35 virtual void SetLosslessColor(bool want_lossless) = 0; | 37 virtual void SetLosslessColor(bool want_lossless) = 0; |
| 36 | 38 |
| 37 // Sets SizeCallback to be called when screen size is changed. | 39 // Sets SizeCallback to be called when screen size is changed. |
| 38 virtual void SetSizeCallback(const SizeCallback& size_callback) = 0; | 40 virtual void SetSizeCallback(const SizeCallback& size_callback) = 0; |
| 39 }; | 41 }; |
| 40 | 42 |
| 41 } // namespace protocol | 43 } // namespace protocol |
| 42 } // namespace remoting | 44 } // namespace remoting |
| 43 | 45 |
| 44 #endif // REMOTING_PROTOCOL_VIDEO_STREAM_H_ | 46 #endif // REMOTING_PROTOCOL_VIDEO_STREAM_H_ |
| OLD | NEW |