Add more logic on duplicate pdf detection The duplicate pdf detection currently relies on the file path, this CL adds more logic to it: 1. the http method has to be GET. 2. There are no past download with the same file path and different URL. 3. There is a past download with the same URL and file path. Bug: 415572411, 416023683 Change-Id: I48d840dc7e4dc6ccc2002fe39792e99cf69e9572 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6514053 Reviewed-by: Shu Yang <shuyng@google.com> Commit-Queue: Shu Yang <shuyng@google.com> Cr-Commit-Position: refs/heads/main@{#1456696}
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.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
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.
If you found a bug, please file it at https://crbug.com/new.