forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement encoding part of Save-Page-As-WebBundle feature by introducing a WebBundleBuilder class. This CL will encode a series of snapshots (from a single web page) into a correct WebBundle. Bug: 1040752 Change-Id: I3ab17deb1d658b3098ba32916e8832ea0c829e25 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2215543 Commit-Queue: Miras Myrzakerey <[email protected]> Reviewed-by: Robert Sesek <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: Kunihiko Sakamoto <[email protected]> Cr-Commit-Position: refs/heads/master@{#840658}
- Loading branch information
1 parent
4fa672d
commit 48a1416
Showing
13 changed files
with
544 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"log": { | ||
"version": "1.2", | ||
"entries": [ | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"url": "https://test.example.org/" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": [ | ||
{ | ||
"name": "Content-Type", | ||
"value": "text/html; charset=UTF-8" | ||
} | ||
], | ||
"content": { | ||
"text": "<a href='index.html'>click for web bundles</a>" | ||
} | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"url": "https://test.example.org/index.html" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": [ | ||
{ | ||
"name": "Content-Type", | ||
"value": "text/html; charset=UTF-8" | ||
} | ||
], | ||
"content": { | ||
"text": "<p>Hello Web Bundles!</p>" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
include_rules = [ | ||
"+components/cbor", | ||
"+components/web_package", | ||
"+device/bluetooth/public", | ||
"+gin", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.