tree: bb7e421fa390a371694902b6ce824097b26178b0 [path history] [tgz]
  1. COMMON_METADATA
  2. DIR_METADATA
  3. lcp_critical_path_predictor.proto
  4. lcp_critical_path_predictor_host.cc
  5. lcp_critical_path_predictor_host.h
  6. lcp_critical_path_predictor_test_util.cc
  7. lcp_critical_path_predictor_test_util.h
  8. lcp_critical_path_predictor_util.cc
  9. lcp_critical_path_predictor_util.h
  10. lcp_critical_path_predictor_util_unittest.cc
  11. OWNERS
  12. prewarm_http_disk_cache_manager.cc
  13. prewarm_http_disk_cache_manager.h
  14. prewarm_http_disk_cache_manager_unittest.cc
  15. README.md
chrome/browser/predictors/lcp_critical_path_predictor/README.md

LCP Critical Path Predictor

This directory implements the browser side of the Largest Contentful Paint (LCP) Critical Path Predictor.

  • LCPCriticalPathPredictorDatabase
    • Manages SQLite database and tables.
  • LCPCriticalPathPredictorPersister
    • Implements the service-specific persistent logic using LCPCriticalPathPredictorDatabase as a backend. Currently, there is only one implementation, but we may introduce another implementation that has an in-memory database as a backend if required.
  • LCPCriticalPathPredictorKeyedService
    • A service that predicts LCP Critical Path. Uses LCPCriticalPathPredictorPersister internally.
  • LCPCriticalPathPredictorKeyedServiceFactory
    • A factory to create LCPCriticalPathPredictorKeyedService instances. Instances are created per profile.

Implementation is on-going. See http://crbug.com/1419756 for details.