chrome/browser/system_monitor/portable_device_watcher_win.cc
// Returns the name of the device specified by |pnp_device_id|.
Returns the name of the device specified by |pnp_device_id|.
Returns the name of the device specified by |pnp_device_id| .
string16 GetDeviceNameOnBlockingThread(
    IPortableDeviceManager* portable_device_manager,
    const string16& pnp_device_id) {
  DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread());
  DCHECK(portable_device_manager);
  string16 name;
  GetFriendlyName(pnp_device_id, portable_device_manager, &name) ||
      GetDeviceDescription(pnp_device_id, portable_device_manager, &name) ||
      GetManufacturerName(pnp_device_id, portable_device_manager, &name);
  return name;
}
string16 GetDeviceNameOnBlockingThread ( IPortableDeviceManager * portable_device_manager , const string16 & pnp_device_id ) { DCHECK ( content :: BrowserThread :: GetBlockingPool ( ) -> RunsTasksOnCurrentThread ( ) ) ; DCHECK ( portable_device_manager ) ; string16 name ; GetFriendlyName ( pnp_device_id , portable_device_manager , & name ) || GetDeviceDescription ( pnp_device_id , portable_device_manager , & name ) || GetManufacturerName ( pnp_device_id , portable_device_manager , & name ) ; return name ; }
Returns the name of the device specified by |pnp_device_id|.
Returns the name of the device specified by |pnp_device_id| .