Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: remoting/host/video_scheduler.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, 88 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
89 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner, 89 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner,
90 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, 90 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
91 scoped_ptr<webrtc::DesktopCapturer> capturer, 91 scoped_ptr<webrtc::DesktopCapturer> capturer,
92 scoped_ptr<webrtc::MouseCursorMonitor> mouse_cursor_monitor, 92 scoped_ptr<webrtc::MouseCursorMonitor> mouse_cursor_monitor,
93 scoped_ptr<VideoEncoder> encoder, 93 scoped_ptr<VideoEncoder> encoder,
94 protocol::CursorShapeStub* cursor_stub, 94 protocol::CursorShapeStub* cursor_stub,
95 protocol::VideoStub* video_stub); 95 protocol::VideoStub* video_stub);
96 96
97 // webrtc::DesktopCapturer::Callback implementation. 97 // webrtc::DesktopCapturer::Callback implementation.
98 virtual webrtc::SharedMemory* CreateSharedMemory(size_t size) OVERRIDE; 98 virtual webrtc::SharedMemory* CreateSharedMemory(size_t size) override;
99 virtual void OnCaptureCompleted(webrtc::DesktopFrame* frame) OVERRIDE; 99 virtual void OnCaptureCompleted(webrtc::DesktopFrame* frame) override;
100 100
101 // webrtc::MouseCursorMonitor::Callback implementation. 101 // webrtc::MouseCursorMonitor::Callback implementation.
102 virtual void OnMouseCursor( 102 virtual void OnMouseCursor(
103 webrtc::MouseCursor* mouse_cursor) OVERRIDE; 103 webrtc::MouseCursor* mouse_cursor) override;
104 virtual void OnMouseCursorPosition( 104 virtual void OnMouseCursorPosition(
105 webrtc::MouseCursorMonitor::CursorState state, 105 webrtc::MouseCursorMonitor::CursorState state,
106 const webrtc::DesktopVector& position) OVERRIDE; 106 const webrtc::DesktopVector& position) override;
107 107
108 // Starts scheduling frame captures. 108 // Starts scheduling frame captures.
109 void Start(); 109 void Start();
110 110
111 // Stop scheduling frame captures. This object cannot be re-used once 111 // Stop scheduling frame captures. This object cannot be re-used once
112 // it has been stopped. 112 // it has been stopped.
113 void Stop(); 113 void Stop();
114 114
115 // Pauses or resumes scheduling of frame captures. Pausing/resuming captures 115 // Pauses or resumes scheduling of frame captures. Pausing/resuming captures
116 // only affects capture scheduling and does not stop/start the capturer. 116 // only affects capture scheduling and does not stop/start the capturer.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 // An object to schedule capturing. 220 // An object to schedule capturing.
221 CaptureScheduler scheduler_; 221 CaptureScheduler scheduler_;
222 222
223 DISALLOW_COPY_AND_ASSIGN(VideoScheduler); 223 DISALLOW_COPY_AND_ASSIGN(VideoScheduler);
224 }; 224 };
225 225
226 } // namespace remoting 226 } // namespace remoting
227 227
228 #endif // REMOTING_HOST_VIDEO_SCHEDULER_H_ 228 #endif // REMOTING_HOST_VIDEO_SCHEDULER_H_
OLDNEW
« no previous file with comments | « remoting/host/video_frame_recorder_unittest.cc ('k') | remoting/host/video_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698