OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_AURA_H_ | 5 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_AURA_H_ |
6 #define CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_AURA_H_ | 6 #define CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_AURA_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 ~DesktopCaptureDeviceAura() override; | 30 ~DesktopCaptureDeviceAura() override; |
31 | 31 |
32 // VideoCaptureDevice implementation. | 32 // VideoCaptureDevice implementation. |
33 void AllocateAndStart(const media::VideoCaptureParams& params, | 33 void AllocateAndStart(const media::VideoCaptureParams& params, |
34 scoped_ptr<Client> client) override; | 34 scoped_ptr<Client> client) override; |
35 void StopAndDeAllocate() override; | 35 void StopAndDeAllocate() override; |
36 | 36 |
37 private: | 37 private: |
38 DesktopCaptureDeviceAura(const DesktopMediaID& source); | 38 DesktopCaptureDeviceAura(const DesktopMediaID& source); |
39 | 39 |
40 const scoped_ptr<class ContentVideoCaptureDeviceCore> core_; | 40 scoped_ptr<class ContentVideoCaptureDeviceCore> core_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureDeviceAura); | 42 DISALLOW_COPY_AND_ASSIGN(DesktopCaptureDeviceAura); |
43 }; | 43 }; |
44 | 44 |
45 | 45 |
46 } // namespace content | 46 } // namespace content |
47 | 47 |
48 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_AURA_H_ | 48 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_DESKTOP_CAPTURE_DEVICE_AURA_H_ |
OLD | NEW |