Compression of IDR_SECURITY_INTERSTITIAL_HTML and modified compression function. -Non Gzipped IDR_SECURITY_INTERSTITIAL_HTML was very large and took up lots of space -Previously,there was no easily accessible function to decompress resources -Gzip Compressed IDR_SECURITY_INTERSTITIAL_HTML -Gzip Compressed IDR_SECURITY_INTERSTITIAL_QUIET_HTML -GetResourceFromIdAsString() in dom_distiller/core/resource_utils.cc was modified -Modified function moved to ui::resource_bundle. -Code that previously used GetResourceFromIdAsString() was modified to use new function -Code that loaded compressed resources was modified to use new function -Added overloaded version of the function that accepted a scaling factor -dom_distiller/core/resource_utils.cc was deleted -47kB of space reduced TBR: small unittest Bug: 872568, 973417 Change-Id: I79c4275fdc98af1bcb6ac3e3053961a3662342de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632733 Commit-Queue: Sam Maier <smaier@chromium.org> Commit-Queue: Jacques Chen <jacqueschen@google.com> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Rohit Rao <rohitrao@chromium.org> Reviewed-by: Carlos IL <carlosil@chromium.org> Reviewed-by: Tommy Li <tommycli@chromium.org> Reviewed-by: Sean Topping <seantopping@chromium.org> Reviewed-by: Tommy Nyquist <nyquist@chromium.org> Reviewed-by: Dominik Röttsches <drott@chromium.org> Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org> Reviewed-by: Sam Maier <smaier@chromium.org> Cr-Commit-Position: refs/heads/master@{#668531}
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 .