|
Adds a feature to MHTML serialization that omits subframes and subresources marked no-store.
Also integrates this new feature with the offline page archiver. Note that because CSS is not considered a resource
when serializing, CSS will be covered separately.
BUG= 609566
Committed: https://crrev.com/a8f8297de77fc3688e05b459f0cb6448209ad2ea
Cr-Commit-Position: refs/heads/master@{#395380}
Total comments: 6
Total comments: 6
Total comments: 18
Total comments: 14
Total comments: 12
Total comments: 24
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+347 lines, -88 lines) |
Patch |
 |
M |
chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
1 comment
|
Download
|
 |
M |
content/browser/download/mhtml_generation_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+214 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/child/assert_matching_enums.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/common/DEPS
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/common/common_param_traits_macros.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/common/mhtml_generation_params.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+24 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
content/test/data/nostore.jpg
|
View
|
1
2
3
4
|
Binary file |
0 comments
|
Download
|
 |
A + |
content/test/data/nostore.jpg.mock-http-headers
|
View
|
1
2
3
4
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
content/test/data/page_with_nostore_iframe.html
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/fetch/Resource.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/fetch/Resource.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameSerializer.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameSerializer.cpp
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+51 lines, -16 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebFrameSerializer.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+17 lines, -16 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 34 (14 generated)
|