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

Issue 2590793004: MD Downloads: gzip vulcanized resources via compress="gzip" (Closed)

Created:
4 years ago by Dan Beam
Modified:
3 years, 12 months ago
Reviewers:
jam
CC:
chromium-reviews, asanka, dominickn+watch_chromium.org, tzik, dmazzoni+watch_chromium.org, kinuko+watch, jsbell+serviceworker_chromium.org, aboxhall+watch_chromium.org, jam, Patrick Dubroy, je_julie, darin-cc_chromium.org, blink-worker-reviews_chromium.org, vabr+watchlistpasswordmanager_chromium.org, ntp-dev+reviews_chromium.org, yuzo+watch_chromium.org, cmumford, feature-media-reviews_chromium.org, feature-vr-reviews_chromium.org, pam+watch_chromium.org, nhiroki, piman+watch_chromium.org, gcasto+watchlist_chromium.org, jsbell+idb_chromium.org, dbeam+watch-downloads_chromium.org, michaeln, shimazu+serviceworker_chromium.org, serviceworker-reviews, nektar+watch_chromium.org, dbeam+watch-history_chromium.org, eroman, kinuko+serviceworker, dtseng+watch_chromium.org, horo+watch_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Downloads: gzip vulcanized resources via compress="gzip" Reduces the amount of data stored and read from disk by 190419 bytes. Also, change the API in WebUIDataSource from: void DisableI18nAndUseGzipForAllPaths() void ExcludePathFromGzip(const std::string& path) to just: void UseGzip(const std::unordered_set<std::string>& excluded_paths) because: - $i18n{} support was added for gzipped resources[1], so the "DisableI18nAnd" no longer makes sense. - "ForAllPaths" makes less sense as it requires a list of exclusions. R=jam@chromium.org BUG=653332 NOTRY=true # see https://codereview.chromium.org/2597403002/ [1] https://codereview.chromium.org/2544683002/ Committed: https://crrev.com/d2f894f476b94600d3db7d25ff15d29819177c43 Cr-Commit-Position: refs/heads/master@{#440584}

Patch Set 1 #

Total comments: 3

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -54 lines) Patch
M chrome/browser/browser_resources.grd View 2 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/domain_reliability_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/engagement/site_engagement_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/gcm_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/history_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/invalidations_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/md_downloads/md_downloads_ui.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/offline/offline_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/predictors/predictors_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/profiler_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/signin_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/snippets_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/supervised_user_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/usb_internals/usb_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/accessibility/accessibility_ui.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/appcache/appcache_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/gpu_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/media_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webrtc/webrtc_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webui/web_ui_data_source_impl.h View 1 3 chunks +2 lines, -6 lines 0 comments Download
M content/browser/webui/web_ui_data_source_impl.cc View 1 5 chunks +8 lines, -9 lines 0 comments Download
M content/public/browser/web_ui_data_source.h View 1 2 chunks +6 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 32 (20 generated)
Dan Beam
4 years ago (2016-12-21 01:52:40 UTC) #8
jam
https://codereview.chromium.org/2590793004/diff/1/content/public/browser/web_ui_data_source.h File content/public/browser/web_ui_data_source.h (right): https://codereview.chromium.org/2590793004/diff/1/content/public/browser/web_ui_data_source.h#newcode112 content/public/browser/web_ui_data_source.h:112: virtual void ExcludePathFromGzip(const std::string& path) = 0; do we ...
4 years ago (2016-12-21 21:18:31 UTC) #9
Dan Beam
https://codereview.chromium.org/2590793004/diff/1/content/public/browser/web_ui_data_source.h File content/public/browser/web_ui_data_source.h (right): https://codereview.chromium.org/2590793004/diff/1/content/public/browser/web_ui_data_source.h#newcode112 content/public/browser/web_ui_data_source.h:112: virtual void ExcludePathFromGzip(const std::string& path) = 0; On 2016/12/21 ...
4 years ago (2016-12-21 22:22:05 UTC) #10
Dan Beam
https://codereview.chromium.org/2590793004/diff/1/content/public/browser/web_ui_data_source.h File content/public/browser/web_ui_data_source.h (right): https://codereview.chromium.org/2590793004/diff/1/content/public/browser/web_ui_data_source.h#newcode112 content/public/browser/web_ui_data_source.h:112: virtual void ExcludePathFromGzip(const std::string& path) = 0; On 2016/12/21 ...
4 years ago (2016-12-21 23:06:35 UTC) #14
Dan Beam
ping jam@
4 years ago (2016-12-22 20:40:23 UTC) #18
jam
lgtm (sorry I missed your earlier message)
3 years, 12 months ago (2016-12-22 22:59:44 UTC) #19
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/2590793004/20001
3 years, 12 months ago (2016-12-22 23:51:58 UTC) #21
Dan Beam
On 2016/12/22 22:59:44, jam wrote: > lgtm > > (sorry I missed your earlier message) ...
3 years, 12 months ago (2016-12-22 23:55:30 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/284620)
3 years, 12 months ago (2016-12-23 02:03:43 UTC) #24
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/2590793004/20001
3 years, 12 months ago (2016-12-23 02:13:53 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 12 months ago (2016-12-23 02:18:53 UTC) #30
commit-bot: I haz the power
3 years, 12 months ago (2016-12-23 02:21:00 UTC) #32
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d2f894f476b94600d3db7d25ff15d29819177c43
Cr-Commit-Position: refs/heads/master@{#440584}

Powered by Google App Engine
This is Rietveld 408576698