
Drops various GetDownloadProgress() APIs from the PDF viewer because: 1. We never call pp::URLRequestInfo::SetRecordDownloadProgress(), so calls to pp::URLLoader::GetDownloadProgress() always return false. 2. We only use GetDownloadProgress() in DocumentLoaderImpl, to try to get the total content length if we fail to get it from the Content-Length header. But the total content length reported by GetDownloadProgress() also comes from Content-Length, so this is not useful. 3. GetDownloadProgress() won't be useful post-Pepper, as blink::WebAssociatedURLLoader does not have a similar API. Instead, the client is expected to track this internally. Bug: 1099022 Change-Id: I6f2f183e84b2d9e4c0dee2c116ac08bce3dc4ed0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429545 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: K. Moon <kmoon@chromium.org> Cr-Commit-Position: refs/heads/master@{#810442}
PPAPI migration utilities
This directory contains utilities for bridging from legacy APIs during the PDF viewer's migration from Pepper. The utilities should be designed for easy removal once the migration is complete.