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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_CAPTURE_DEVICES_H | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_CAPTURE_DEVICES_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_CAPTURE_DEVICES_H | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_CAPTURE_DEVICES_IMPL_H_ |
7 | 7 |
8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
9 #include "content/public/browser/media_capture_devices.h" | 9 #include "content/public/browser/media_capture_devices.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 class MediaCaptureDevicesImpl : public MediaCaptureDevices { | 13 class MediaCaptureDevicesImpl : public MediaCaptureDevices { |
14 public: | 14 public: |
15 static MediaCaptureDevicesImpl* GetInstance(); | 15 static MediaCaptureDevicesImpl* GetInstance(); |
16 | 16 |
(...skipping 22 matching lines...) Expand all Loading... |
39 MediaStreamDevices audio_devices_; | 39 MediaStreamDevices audio_devices_; |
40 | 40 |
41 // A list of cached video capture devices. | 41 // A list of cached video capture devices. |
42 MediaStreamDevices video_devices_; | 42 MediaStreamDevices video_devices_; |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(MediaCaptureDevicesImpl); | 44 DISALLOW_COPY_AND_ASSIGN(MediaCaptureDevicesImpl); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace content | 47 } // namespace content |
48 | 48 |
49 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_CAPTURE_DEVICES_H | 49 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_CAPTURE_DEVICES_IMPL_H_ |
OLD | NEW |