commit | 137e05d0105abedb195dae64225b1f7b954da5e5 | [log] [tgz] |
---|---|---|
author | horo <horo@chromium.org> | Wed May 17 02:27:50 2017 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 17 02:27:50 2017 |
tree | 75522f350a527dc521cdf3f18286e669ab4c18cc | |
parent | 09f616277fc148aaac61828f5e76e392c33327d1 [diff] |
DataSaver support for off-main-thread-fetch This CL gets the DataSaver setting on the main thread and pass it to WebWorkerFetchContext (WorkerFetchContextImpl, ServiceWorkerFetchContextImpl). WorkerFetchContext::AddAdditionalRequestHeaders() will check the flag on the worker thread and set "Save-Data" header if enabled. BUG=443374,722774 Review-Url: https://codereview.chromium.org/2886663002 Cr-Commit-Position: refs/heads/master@{#472288}