Index: media/video/capture/mac/video_capture_device_qtkit_mac.h |
diff --git a/media/video/capture/mac/video_capture_device_qtkit_mac.h b/media/video/capture/mac/video_capture_device_qtkit_mac.h |
index 1eba8a12ea240dd36a5bbc00c5b34ca1d848840a..1ed511b54cece8d24fe06460535367da353d5857 100644 |
--- a/media/video/capture/mac/video_capture_device_qtkit_mac.h |
+++ b/media/video/capture/mac/video_capture_device_qtkit_mac.h |
@@ -39,7 +39,13 @@ class VideoCaptureDeviceMac; |
std::vector<UInt8> adjustedFrame_; |
} |
-// Returns a dictionary of capture devices with friendly name and unique id. |
+// Fills up the |deviceNames| dictionary of capture devices with friendly name |
+// and unique id. No thread assumptions, but this method should run in UI |
+// thread, see http://crbug.com/139164 |
++ (void)getDeviceNames:(NSMutableDictionary*)deviceNames; |
+ |
+// Returns a dictionary of capture devices with friendly name and unique id, via |
+// runing +getDeviceNames: on Main Thread. |
+ (NSDictionary*)deviceNames; |
// Initializes the instance and registers the frame receiver. |