New issue
Advanced search Search tips

Issue 811564 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 809793



Sign in to add a comment

GetLocalImageData should create file backed blobs

Project Member Reported by wzang@chromium.org, Feb 13 2018

Issue description

Currently wallpaperPrivate.getLocalImageData sends the binary data directly, which may be less efficient (the size for an e.g. 640x480 JPEG file can range from 35kb to 70kb).

We can create a file backed blob, and pass the uuid of the blob to *_custom_bindings.js, which will in turn call |TakeBrowserProcessBlob| to take the ownership of the Blob.

An example can be found here https://cs.chromium.org/chromium/src/extensions/renderer/resources/printer_provider_custom_bindings.js?type=cs&q=printer_provider_cus&l=3



 
Labels: -Pri-1 -M-66 M-72 Pri-3

Sign in to add a comment