Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Issue 2036633003: Revert of Revert "Compress .pak resources with new option: "type=GZIPPABLE_BINDATA"" (Closed)

Created:
4 years, 6 months ago by smaier
Modified:
4 years, 6 months ago
Reviewers:
flackr, xdai1, agrieve
CC:
arv+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, gcasto+watchlist_chromium.org, jam, mkwst+watchlist-passwords_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of: Compress .pak resources with new option: "type=GZIPPABLE_BINDATA" Reason for reland: No longer fails on chromeos host Allows compression via gzip for rarely used .pak resources. These resources will only be uncompressed into memory upon request of the resource. We are compressing all "internals" pages, with a savings of 472KB. First attempt: https://codereview.chromium.org/1968993002 TBR=agrieve BUG=609219 Committed: https://crrev.com/c19426aba4e6aef9cb4fefc02d37969f9002ba5c Cr-Commit-Position: refs/heads/master@{#398303}

Patch Set 1 #

Patch Set 2 : Fixed gzip breakage on linux systems with strange gzip #

Patch Set 3 : Checking for and avoiding --rsyncable on ChromeOS #

Patch Set 4 : Removed an unnecessary include #

Patch Set 5 : Python formatting #

Total comments: 1

Patch Set 6 : Updated comment to reference --rsyncable bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -75 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/resources/net_internals_resources.grd View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/password_manager_internals_resources.grd View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/translate_internals_resources.grd View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/webui_resource_browsertest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/resources/gcm_driver_resources.grdp View 1 chunk +3 lines, -3 lines 0 comments Download
M components/resources/signin_resources.grdp View 1 chunk +3 lines, -2 lines 0 comments Download
M content/content_resources.grd View 2 chunks +15 lines, -15 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M tools/grit/grit/exception.py View 1 2 chunks +4 lines, -1 line 0 comments Download
M tools/grit/grit/format/data_pack_unittest.py View 1 2 chunks +34 lines, -0 lines 0 comments Download
A tools/grit/grit/format/gzip_string.py View 1 chunk +43 lines, -0 lines 0 comments Download
A tools/grit/grit/format/gzip_string_unittest.py View 1 chunk +62 lines, -0 lines 0 comments Download
M tools/grit/grit/node/include.py View 1 2 3 4 5 4 chunks +28 lines, -4 lines 0 comments Download
M tools/grit/grit/node/include_unittest.py View 1 2 chunks +16 lines, -1 line 0 comments Download
M tools/grit/grit/test_suite_all.py View 1 2 chunks +2 lines, -0 lines 0 comments Download
A tools/grit/grit/testdata/test_text.txt View 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/resource/resource_bundle.h View 1 3 chunks +12 lines, -1 line 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 5 chunks +79 lines, -25 lines 0 comments Download
M ui/base/resource/resource_bundle_unittest.cc View 1 2 chunks +39 lines, -0 lines 0 comments Download
M ui/base/ui_base.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
smaier
Created Revert of Revert "Compress .pak resources with new option: "type=GZIPPABLE_BINDATA""
4 years, 6 months ago (2016-06-02 20:40:41 UTC) #1
xdai1
On 2016/06/02 20:40:41, smaier wrote: > Created Revert of Revert "Compress .pak resources with new ...
4 years, 6 months ago (2016-06-02 20:58:18 UTC) #2
smaier
flackr@ Take a look at tools/grit/grit/node/include.py. Everything else should be identical to the first CL ...
4 years, 6 months ago (2016-06-03 21:32:50 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2036633003/350001
4 years, 6 months ago (2016-06-06 19:20:13 UTC) #9
flackr
lgtm with nit. https://codereview.chromium.org/2036633003/diff/350001/tools/grit/grit/node/include.py File tools/grit/grit/node/include.py (right): https://codereview.chromium.org/2036633003/diff/350001/tools/grit/grit/node/include.py#newcode103 tools/grit/grit/node/include.py:103: if sys.platform == 'linux2' and 'chromeos' ...
4 years, 6 months ago (2016-06-06 20:00:58 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/82731)
4 years, 6 months ago (2016-06-06 20:58:43 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2036633003/370001
4 years, 6 months ago (2016-06-07 14:04:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2036633003/370001
4 years, 6 months ago (2016-06-07 14:53:23 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:370001)
4 years, 6 months ago (2016-06-07 15:17:31 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 15:20:01 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c19426aba4e6aef9cb4fefc02d37969f9002ba5c
Cr-Commit-Position: refs/heads/master@{#398303}

Powered by Google App Engine
This is Rietveld 408576698