tree: 3f0fdbdb643fe836267b2d231cb9116aabbc3246 [path history] [tgz]
  1. android/
  2. content/
  3. core/
  4. ios/
  5. BUILD.gn
  6. buildflags.gni
  7. DEPS
  8. DIR_METADATA
  9. OWNERS
  10. README.md
components/safe_browsing/README.md

//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 (on platforms other than iOS)
  • 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).