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

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

Issue 2538183002: remoting: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/desktop_environment.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_HOST_DESKTOP_CAPTURER_PROXY_H_ 5 #ifndef REMOTING_HOST_DESKTOP_CAPTURER_PROXY_H_
6 #define REMOTING_HOST_DESKTOP_CAPTURER_PROXY_H_ 6 #define REMOTING_HOST_DESKTOP_CAPTURER_PROXY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
14 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" 14 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
15 15
16 namespace base { 16 namespace base {
17 class SingleThreadTaskRunner; 17 class SingleThreadTaskRunner;
18 } // namespace base 18 } // namespace base
19 19
20 namespace webrtc { 20 namespace webrtc {
21 class DesktopCaptureOptions; 21 class DesktopCaptureOptions;
22 } // namespace webrtc 22 } // namespace webrtc
23 23
24 namespace remoting { 24 namespace remoting {
25 25
26 namespace protocol {
27 class CursorShapeInfo;
28 } // namespace protocol
29
30 // DesktopCapturerProxy is responsible for calling webrtc::DesktopCapturer on 26 // DesktopCapturerProxy is responsible for calling webrtc::DesktopCapturer on
31 // the capturer thread and then returning results to the caller's thread. 27 // the capturer thread and then returning results to the caller's thread.
32 // GetSourceList() and SelectSource() functions are not implemented by this 28 // GetSourceList() and SelectSource() functions are not implemented by this
33 // class, they always return false. 29 // class, they always return false.
34 class DesktopCapturerProxy : public webrtc::DesktopCapturer { 30 class DesktopCapturerProxy : public webrtc::DesktopCapturer {
35 public: 31 public:
36 explicit DesktopCapturerProxy( 32 explicit DesktopCapturerProxy(
37 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner); 33 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner);
38 ~DesktopCapturerProxy() override; 34 ~DesktopCapturerProxy() override;
39 35
(...skipping 24 matching lines...) Expand all
64 webrtc::DesktopCapturer::Callback* callback_; 60 webrtc::DesktopCapturer::Callback* callback_;
65 61
66 base::WeakPtrFactory<DesktopCapturerProxy> weak_factory_; 62 base::WeakPtrFactory<DesktopCapturerProxy> weak_factory_;
67 63
68 DISALLOW_COPY_AND_ASSIGN(DesktopCapturerProxy); 64 DISALLOW_COPY_AND_ASSIGN(DesktopCapturerProxy);
69 }; 65 };
70 66
71 } // namespace remoting 67 } // namespace remoting
72 68
73 #endif // REMOTING_HOST_DESKTOP_CAPTURER_PROXY_H_ 69 #endif // REMOTING_HOST_DESKTOP_CAPTURER_PROXY_H_
OLDNEW
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698