tree: c356ccd1189838485c72e29a25f900b16b059ad8 [path history] [tgz]
  1. DIR_METADATA
  2. login_detection_browsertest.cc
  3. login_detection_keyed_service.cc
  4. login_detection_keyed_service.h
  5. login_detection_keyed_service_factory.cc
  6. login_detection_keyed_service_factory.h
  7. login_detection_prefs.cc
  8. login_detection_prefs.h
  9. login_detection_prefs_unittest.cc
  10. login_detection_tab_helper.cc
  11. login_detection_tab_helper.h
  12. login_detection_tab_helper_unittest.cc
  13. login_detection_type.h
  14. login_detection_util.cc
  15. login_detection_util.h
  16. oauth_login_detector.cc
  17. oauth_login_detector.h
  18. oauth_login_detector_unittest.cc
  19. OWNERS
  20. README.md
chrome/browser/login_detection/README.md

Login detection

This code detects when a user logs in on a site via OAuth. In particular, it detects sites that had successful OAuth login flows using heuristics that observe URL request parameters during navigations. This information is used to trigger Site Isolation for login sites on platforms like Android, where Site Isolation cannot be used for all sites. The login sites are also saved in preferences. Note that the detector's heuristics are not expected to be perfect.

In the future, the OAuth detector should be factored out into its own login detection component under //components, so that it can also be used on platforms such as WebLayer.