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