| 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 #ifndef REMOTING_HOST_VIDEO_SCHEDULER_H_ | 5 #ifndef REMOTING_HOST_VIDEO_SCHEDULER_H_ |
| 6 #define REMOTING_HOST_VIDEO_SCHEDULER_H_ | 6 #define REMOTING_HOST_VIDEO_SCHEDULER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "remoting/codec/video_encoder.h" | 15 #include "remoting/codec/video_encoder.h" |
| 16 #include "remoting/host/capture_scheduler.h" | 16 #include "remoting/host/capture_scheduler.h" |
| 17 #include "remoting/proto/video.pb.h" | 17 #include "remoting/proto/video.pb.h" |
| 18 #include "third_party/skia/include/core/SkSize.h" | |
| 19 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" | 18 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" |
| 20 | 19 |
| 21 namespace base { | 20 namespace base { |
| 22 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
| 23 } // namespace base | 22 } // namespace base |
| 24 | 23 |
| 25 namespace media { | 24 namespace media { |
| 26 class ScreenCapturer; | 25 class ScreenCapturer; |
| 27 } // namespace media | 26 } // namespace media |
| 28 | 27 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 192 |
| 194 // An object to schedule capturing. | 193 // An object to schedule capturing. |
| 195 CaptureScheduler scheduler_; | 194 CaptureScheduler scheduler_; |
| 196 | 195 |
| 197 DISALLOW_COPY_AND_ASSIGN(VideoScheduler); | 196 DISALLOW_COPY_AND_ASSIGN(VideoScheduler); |
| 198 }; | 197 }; |
| 199 | 198 |
| 200 } // namespace remoting | 199 } // namespace remoting |
| 201 | 200 |
| 202 #endif // REMOTING_HOST_VIDEO_SCHEDULER_H_ | 201 #endif // REMOTING_HOST_VIDEO_SCHEDULER_H_ |
| OLD | NEW |