Fetch optimizations hints when data saver is enabled via flags
Currently, optimization hints are fetched only when data saver pref is set. This can be done by going to data saver setting or by installing the extension on the desktop. This CL additionally checks if data saver is enabled via command line switch. This makes it simpler to test hints on Linux without having to install the extension. This is not really a user-facing change since users are not expected to turn data saver via that switch. Bug: 878131 Change-Id: I4f728a3e9bbfe30119257ff43c8eeb52b211732d TBR: dougarnett@chromium.org Reviewed-on: https://chromium-review.googlesource.com/c/1313274 Commit-Queue: Tarun Bansal <tbansal@chromium.org> Reviewed-by:Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#604833}
Showing
Please register or sign in to comment