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

Issue 2931983002: Mojo JS bindings: specify compress="gzip" for bindings JS files in .grd. (Closed)

Created:
3 years, 6 months ago by yzshen1
Modified:
3 years, 6 months ago
Reviewers:
Dan Beam, sky
CC:
dpapad, agrieve, chromium-reviews, darin-cc_chromium.org, jam, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo JS bindings: specify compress="gzip" for bindings JS files in .grd. Numbers measured using a Release Android build: ===================================== Before: Analyzing pak files in out/ARelease/apks/MonochromePublic.apk... Total pak files: 99 Total compressed size: 5.10m Total uncompressed size: 9.93m ... ==================================== After: Analyzing pak files in out/ARelease/apks/MonochromePublic.apk... Total pak files: 99 Total compressed size: 5.01m Total uncompressed size: 9.84m ... =================================== BUG=731243 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2931983002 Cr-Commit-Position: refs/heads/master@{#478233} Committed: https://chromium.googlesource.com/chromium/src/+/1a4797788c3fd17e40f37aa0379b148c38461bba

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M content/browser/webui/shared_resources_data_source.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/webui/shared_resources_data_source.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/webui/resources/webui_resources.grd View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (19 generated)
yzshen1
Hi, Scott. Would you please take a look? Thanks!
3 years, 6 months ago (2017-06-08 21:59:19 UTC) #7
sky
LGTM
3 years, 6 months ago (2017-06-08 22:35:14 UTC) #10
yzshen1
Thanks, Scott! I realized that I needed C++ changes too. Also +Demetrios as reviewer.
3 years, 6 months ago (2017-06-09 00:27:56 UTC) #16
dpapad
Deferring to dbeam@ (while still with us), who is more familiar with the WebUI's gzip ...
3 years, 6 months ago (2017-06-09 00:37:53 UTC) #18
Dan Beam
lgtm w/ simplification https://codereview.chromium.org/2931983002/diff/20001/content/browser/webui/shared_resources_data_source.cc File content/browser/webui/shared_resources_data_source.cc (right): https://codereview.chromium.org/2931983002/diff/20001/content/browser/webui/shared_resources_data_source.cc#newcode218 content/browser/webui/shared_resources_data_source.cc:218: return gzipped_path_set.find(path) != gzipped_path_set.end(); can't this ...
3 years, 6 months ago (2017-06-09 01:05:28 UTC) #20
yzshen1
https://codereview.chromium.org/2931983002/diff/20001/content/browser/webui/shared_resources_data_source.cc File content/browser/webui/shared_resources_data_source.cc (right): https://codereview.chromium.org/2931983002/diff/20001/content/browser/webui/shared_resources_data_source.cc#newcode218 content/browser/webui/shared_resources_data_source.cc:218: return gzipped_path_set.find(path) != gzipped_path_set.end(); On 2017/06/09 01:05:28, Dan Beam ...
3 years, 6 months ago (2017-06-09 07:07:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2931983002/40001
3 years, 6 months ago (2017-06-09 07:07:31 UTC) #24
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 08:11:50 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/1a4797788c3fd17e40f37aa0379b...

Powered by Google App Engine
This is Rietveld 408576698