0
Files
src/components/safe_browsing
Xinghui Lu ab3fb47be2 Add histogram to check if a chrome-extension:// URL can be redirected to a different scheme.
Bug: 1410939
Change-Id: I3e187ea63d09dbe293e2f76f7273226a99010df4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4439899
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Daniel Rubery <drubery@chromium.org>
Commit-Queue: Xinghui Lu <xinghuilu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132221}
2023-04-18 23:19:48 +00:00
..

//components/safe_browsing is a layered component (https://sites.google.com/a/chromium.org/dev/developers/design-documents/layered-components-design) to enable it to be shared cleanly on iOS.

The component has the following structure:

  • core/: shared code that does not depend on either {src/content, src/ios} or {./content, ./ios}
    • browser/: Browser process code
    • common/: Code shared by the browser and the renderer
  • content/: non-iOS code layered above core/ that integrates with the Content API
    • browser/: Browser process code
    • common/: Code shared by the browser and the renderer
    • renderer/: Renderer process code
  • ios/: iOS-specific code layered above core/ that integrates with //ios/web

A note for //content-based embedders of this component:

//content-based embedders should use the SafeBrowsingBlockingPage, SafeBrowsingUIManager, and SafeBrowsingNavigationThrottle classes. BaseBlockingPage and BaseUIManager exist for Android WebView and should not be used further (crbug.com/1234027).