function parseExtensionDestination(destinationInfo) {
    const provisionalType = destinationInfo.provisional ?
        print_preview.DestinationProvisionalType.NEEDS_USB_PERMISSION :
        print_preview.DestinationProvisionalType.NONE;

    return new print_preview.Destination(
        destinationInfo.id, print_preview.DestinationType.LOCAL,
        print_preview.DestinationOrigin.EXTENSION, destinationInfo.name,
        false /* isRecent */, print_preview.DestinationConnectionStatus.ONLINE,
        {
          description: destinationInfo.description || '',
          extensionId: destinationInfo.extensionId,
          extensionName: destinationInfo.extensionName || '',
          provisionalType: provisionalType
        });
  }
/**
   * Parses an extension destination from an extension supplied printer
   * description.
   * @param {!print_preview.ProvisionalDestinationInfo} destinationInfo Object
   *     describing an extension printer.
   * @return {!print_preview.Destination} Parsed destination.
   */
Parses an extension destination from an extension supplied printer
description.
@param {!print_preview.ProvisionalDestinationInfo} destinationInfo Object
describing an extension printer.
Parses an extension destination from an extension supplied printer description . @param { !print_preview . ProvisionalDestinationInfo } destinationInfo Object describing an extension printer .
function parseExtensionDestination(destinationInfo) {
    const provisionalType = destinationInfo.provisional ?
        print_preview.DestinationProvisionalType.NEEDS_USB_PERMISSION :
        print_preview.DestinationProvisionalType.NONE;
    return new print_preview.Destination(
        destinationInfo.id, print_preview.DestinationType.LOCAL,
        print_preview.DestinationOrigin.EXTENSION, destinationInfo.name,
        false , print_preview.DestinationConnectionStatus.ONLINE,
        {
          description: destinationInfo.description || '',
          extensionId: destinationInfo.extensionId,
          extensionName: destinationInfo.extensionName || '',
          provisionalType: provisionalType
        });
  }
function parseExtensionDestination ( destinationInfo ) { const provisionalType = destinationInfo . provisional ? print_preview . DestinationProvisionalType . NEEDS_USB_PERMISSION : print_preview . DestinationProvisionalType . NONE ; return new print_preview . Destination ( destinationInfo . id , print_preview . DestinationType . LOCAL , print_preview . DestinationOrigin . EXTENSION , destinationInfo . name , false , print_preview . DestinationConnectionStatus . ONLINE , { description : destinationInfo . description || '' , extensionId : destinationInfo . extensionId , extensionName : destinationInfo . extensionName || '' , provisionalType : provisionalType } ) ; }
Parses an extension destination from an extension supplied printer
 description.
Parses an extension destination from an extension supplied printer description .
/* isRecent */