0
Go to file
K. Moon 6fe0cb01a8 Support the remainder of chrome_pdf::UrlRequest
Adds support for the remaining properties of UrlRequest to
chrome_pdf::BlinkUrlLoader::Open(): the request body, the custom
referrer URL, and whether to ignore redirects.

BlinkUrlLoader::Client now uses a single IsValid() method to check for
missing resources, rather than returning errors from individual methods.
Returning errors from each method complicates the API for no benefit.

MockBlinkUrlLoaderClient has been replaced by FakeBlinkUrlLoaderClient.
The tests no longer assert interactions with BlinkUrlLoader::Client, but
the results of those interactions, so a mock is no longer appropriate.

Additional changes to Open() improve PepperURLLoaderHost compatibility:
The request URL is resolved against the document URL, site-for-cookies
are passed from the document, and service workers are skipped.

Bug: 1099022
Change-Id: If5cbb562ae74efcd3f3807a452e655a893a08eea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424661
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Daniel Hosseinian <dhoss@chromium.org>
Commit-Queue: K. Moon <kmoon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809966}
2020-09-23 21:29:40 +00:00
2020-09-23 19:19:42 +00:00
2020-09-23 02:38:31 +00:00
2020-09-09 20:52:09 +00:00
2020-09-21 21:34:25 +00:00
2020-09-23 05:16:32 +00:00
2020-09-18 23:08:21 +00:00
2020-09-17 21:37:32 +00:00
2020-09-22 18:49:41 +00:00

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure .

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.

Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Readme BSD-3-Clause 89 GiB
Languages
C++ 74.4%
Java 8.2%
Objective-C++ 4.6%
TypeScript 4%
Python 2.5%
Other 6.1%