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

Unified Diff: media/video/capture/mac/video_capture_device_mac.mm

Issue 1007443004: Plugin Power Saver: Replace all "plug-in" with "plugin" for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove terms and native_client_sdk changes. Created 5 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
« no previous file with comments | « ios/web/public/web_client.h ('k') | ppapi/api/dev/ppp_zoom_dev.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/mac/video_capture_device_mac.mm
diff --git a/media/video/capture/mac/video_capture_device_mac.mm b/media/video/capture/mac/video_capture_device_mac.mm
index e0bb96e5951b1879efef22f63c82555cb568e9d2..b35729d2c5bc4026b3c149facd616ebd7c120f22 100644
--- a/media/video/capture/mac/video_capture_device_mac.mm
+++ b/media/video/capture/mac/video_capture_device_mac.mm
@@ -118,7 +118,7 @@ static bool FindDeviceInterfaceInUsbDevice(
const int product_id,
const io_service_t usb_device,
IOUSBDeviceInterface*** device_interface) {
- // Create a plug-in, i.e. a user-side controller to manipulate USB device.
+ // Create a plugin, i.e. a user-side controller to manipulate USB device.
IOCFPlugInInterface** plugin;
SInt32 score; // Unused, but required for IOCreatePlugInInterfaceForService.
kern_return_t kr =
@@ -133,7 +133,7 @@ static bool FindDeviceInterfaceInUsbDevice(
}
base::mac::ScopedIOPluginInterface<IOCFPlugInInterface> plugin_ref(plugin);
- // Fetch the Device Interface from the plug-in.
+ // Fetch the Device Interface from the plugin.
HRESULT res =
(*plugin)->QueryInterface(plugin,
CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID),
@@ -179,7 +179,7 @@ static bool FindVideoControlInterfaceInDeviceInterface(
}
base::mac::ScopedIOObject<io_service_t> found_interface_ref(found_interface);
- // Create a user side controller (i.e. a "plug-in") for the found interface.
+ // Create a user side controller (i.e. a "plugin") for the found interface.
SInt32 score;
kr = IOCreatePlugInInterfaceForService(found_interface,
kIOUSBInterfaceUserClientTypeID,
@@ -198,8 +198,8 @@ static bool FindVideoControlInterfaceInDeviceInterface(
static void SetAntiFlickerInVideoControlInterface(
IOCFPlugInInterface** plugin_interface,
const int frequency) {
- // Create, the control interface for the found plug-in, and release
- // the intermediate plug-in.
+ // Create, the control interface for the found plugin, and release
+ // the intermediate plugin.
IOUSBInterfaceInterface** control_interface = NULL;
HRESULT res = (*plugin_interface)->QueryInterface(
plugin_interface,
« no previous file with comments | « ios/web/public/web_client.h ('k') | ppapi/api/dev/ppp_zoom_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698