|
Change the way that gzipped resources are loaded from resources.pak
Before, gzipped resources were given a special file header and resource
bundles inspected the first couple bytes to determine if the resources
was gzipped and expanded it on the current thread and responded with
the decompressed resource transparently.
This is pretty awesome.
But you know what's cooler?
Transmitting the resource gzipped (reduces over IPC size) and using the
same code that handles remote network resources with:
Content-Encoding: gzip
via net::GZipFilter. This also dirties less memory, avoids potential
collisions (though there was already nifty code that'd throw if grit
tried to compress something with a header like that), and adds less
code for a more tried and true, weathered gzip implementation.
BUG= 619091, 609219
Committed: https://crrev.com/49dab440c63881d09a313824a345ec1f8574b025
Cr-Commit-Position: refs/heads/master@{#413300}
Total comments: 1
Total comments: 3
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+129 lines, -185 lines) |
Patch |
 |
M |
chrome/browser/ui/webui/domain_reliability_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/gcm_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/popular_sites_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/signin_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/snippets_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/appcache/appcache_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/indexed_db/indexed_db_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/media_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/webrtc/webrtc_internals_ui.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/webui/url_data_manager_backend.cc
|
View
|
|
6 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/webui/web_ui_data_source_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/webui/web_ui_data_source_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/url_data_source.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/url_data_source.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_ui_data_source.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/browser_test_utils.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+40 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/filter/filter.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/filter/gzip_header.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/grit/grit/format/data_pack_unittest.py
|
View
|
|
2 chunks |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
tools/grit/grit/node/include.py
|
View
|
1
2
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
tools/grit/grit/node/include_unittest.py
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle.cc
|
View
|
1
2
3
|
5 chunks |
+26 lines, -81 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 83 (55 generated)
|