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

Side by Side Diff: media/capture/video/mac/video_capture_device_mac.h

Issue 2059493002: Revert of Make media/capture gn and gyps produce components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 // MacOSX implementation of generic VideoCaptureDevice, using AVFoundation as 5 // MacOSX implementation of generic VideoCaptureDevice, using AVFoundation as
6 // native capture API. AVFoundation is available in versions 10.7 (Lion) and 6 // native capture API. AVFoundation is available in versions 10.7 (Lion) and
7 // later. 7 // later.
8 8
9 #ifndef MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_MAC_H_ 9 #ifndef MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_MAC_H_
10 #define MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_MAC_H_ 10 #define MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_MAC_H_
(...skipping 15 matching lines...) Expand all
26 26
27 namespace base { 27 namespace base {
28 class SingleThreadTaskRunner; 28 class SingleThreadTaskRunner;
29 } 29 }
30 30
31 namespace tracked_objects { 31 namespace tracked_objects {
32 class Location; 32 class Location;
33 } // namespace tracked_objects 33 } // namespace tracked_objects
34 34
35 // Small class to bundle device name and connection type into a dictionary. 35 // Small class to bundle device name and connection type into a dictionary.
36 CAPTURE_EXPORT 36 MEDIA_EXPORT
37 @interface DeviceNameAndTransportType : NSObject { 37 @interface DeviceNameAndTransportType : NSObject {
38 @private 38 @private
39 base::scoped_nsobject<NSString> deviceName_; 39 base::scoped_nsobject<NSString> deviceName_;
40 // The transport type of the device (USB, PCI, etc), values are defined in 40 // The transport type of the device (USB, PCI, etc), values are defined in
41 // <IOKit/audio/IOAudioTypes.h> as kIOAudioDeviceTransportType*. 41 // <IOKit/audio/IOAudioTypes.h> as kIOAudioDeviceTransportType*.
42 int32_t transportType_; 42 int32_t transportType_;
43 } 43 }
44 44
45 - (id)initWithName:(NSString*)name transportType:(int32_t)transportType; 45 - (id)initWithName:(NSString*)name transportType:(int32_t)transportType;
46 46
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // VideoCaptureDeviceMac is destroyed. 103 // VideoCaptureDeviceMac is destroyed.
104 // NOTE: Weak pointers must be invalidated before all other member variables. 104 // NOTE: Weak pointers must be invalidated before all other member variables.
105 base::WeakPtrFactory<VideoCaptureDeviceMac> weak_factory_; 105 base::WeakPtrFactory<VideoCaptureDeviceMac> weak_factory_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceMac); 107 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceMac);
108 }; 108 };
109 109
110 } // namespace media 110 } // namespace media
111 111
112 #endif // MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_MAC_H_ 112 #endif // MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_MAC_H_
OLDNEW
« no previous file with comments | « media/capture/video/mac/video_capture_device_factory_mac.h ('k') | media/capture/video/video_capture_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698