| 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 #ifndef REMOTING_HOST_VIDEO_FRAME_RECORDER_H_ | 5 #ifndef REMOTING_HOST_VIDEO_FRAME_RECORDER_H_ |
| 6 #define REMOTING_HOST_VIDEO_FRAME_RECORDER_H_ | 6 #define REMOTING_HOST_VIDEO_FRAME_RECORDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <list> | 9 #include <list> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 14 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 15 | 16 |
| 16 namespace webrtc { | 17 namespace webrtc { |
| 17 class DesktopFrame; | 18 class DesktopFrame; |
| 18 } | 19 } |
| 19 | 20 |
| 20 namespace remoting { | 21 namespace remoting { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 99 |
| 99 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; | 100 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; |
| 100 base::WeakPtrFactory<VideoFrameRecorder> weak_factory_; | 101 base::WeakPtrFactory<VideoFrameRecorder> weak_factory_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(VideoFrameRecorder); | 103 DISALLOW_COPY_AND_ASSIGN(VideoFrameRecorder); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace remoting | 106 } // namespace remoting |
| 106 | 107 |
| 107 #endif // REMOTING_HOST_VIDEO_FRAME_RECORDER_H_ | 108 #endif // REMOTING_HOST_VIDEO_FRAME_RECORDER_H_ |
| OLD | NEW |