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

Unified Diff: media/capture/video/mac/platform_video_capturing_mac.h

Issue 1853743003: Remove platform_video_capturing_mac and the callback thread checker in VideoCaptureDeviceAVFoundati… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: media/capture/video/mac/platform_video_capturing_mac.h
diff --git a/media/capture/video/mac/platform_video_capturing_mac.h b/media/capture/video/mac/platform_video_capturing_mac.h
deleted file mode 100644
index dfcd2bb1e89890f80fd49823b4cdf895a11e9748..0000000000000000000000000000000000000000
--- a/media/capture/video/mac/platform_video_capturing_mac.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
-#define MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
-
-#import <Foundation/Foundation.h>
-
-namespace media {
-class VideoCaptureDeviceMac;
-}
-
-// Protocol representing platform-dependent video capture on Mac.
-@protocol PlatformVideoCapturingMac<NSObject>
-
-// This method initializes the instance by calling NSObject |init| and registers
-// internally a frame receiver at the same time. The frame receiver is supposed
-// to be initialised before and outlive the VideoCapturingDeviceMac
-// implementation.
-- (id)initWithFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver;
-
-// Sets the frame receiver. This method executes the registration in mutual
-// exclusion.
-// TODO(mcasas): This method and stopCapture() are always called in sequence and
-// this one is only used to clear the frameReceiver, investigate if both can be
-// merged.
-- (void)setFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver;
-
-// Sets which capture device to use by name passed as deviceId argument. The
-// device names are usually obtained via VideoCaptureDevice::GetDeviceNames()
-// method. This method will also configure all device properties except those in
-// setCaptureHeight:width:frameRate. If |deviceId| is nil, capture is stopped
-// and all potential configuration is torn down. Returns YES on success, NO
-// otherwise.
-- (BOOL)setCaptureDevice:(NSString*)deviceId;
-
-// Configures the capture properties.
-- (BOOL)setCaptureHeight:(int)height
- width:(int)width
- frameRate:(float)frameRate;
-
-// Starts video capturing, registers observers. Returns YES on success, NO
-// otherwise.
-- (BOOL)startCapture;
-
-// Stops video capturing, unregisters observers.
-- (void)stopCapture;
-
-@end
-
-#endif // MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698