code: public static SanitizedContent fromTrustedResourceUrl(TrustedResourceUrl url) {
      return SanitizedContent.create(
          url.getTrustedResourceUrlString(), ContentKind.TRUSTED_RESOURCE_URI);
    }
docs: Converts a {@link TrustedResourceUrl} into a Soy {@link SanitizedContent} of kind
  TRUSTED_RESOURCE_URI.