commit | 173a384b25da0e6d07c69789e5f7f65c4b4bf53a | [log] [tgz] |
---|---|---|
author | Scott Little <sclittle@chromium.org> | Fri Nov 30 03:59:58 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 30 03:59:58 2018 |
tree | 817278cc2585fc6d29c69edee8b44c4c0ceb97df | |
parent | 81779cdef6f7d5792ddefd27069ada94a0f16675 [diff] |
LazyLoad: Add support for restricting LazyLoad to Data Saver users. This CL adds support for restricting the lazy loading of frames and images separately by field trial parameters. For lazy image loading, to avoid the performance hit from repeatedly locking the mutex in NetworkStateNotifier, the value of NetworkStateNotifier::SaveDataEnabled() is queried once for each frame and used for all images in that frame. Bug: 901571 Change-Id: Ic08416ebe40b6377d5c383616b4f0ceff920637a Reviewed-on: https://chromium-review.googlesource.com/c/1354694 Commit-Queue: Scott Little <sclittle@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Cr-Commit-Position: refs/heads/master@{#612554}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .