tree: 2395395f785364a5673da03df9e8f4c63786860f [path history] [tgz]
  1. COMMON_METADATA
  2. DIR_METADATA
  3. lcp_critical_path_predictor.proto
  4. lcp_critical_path_predictor_database.cc
  5. lcp_critical_path_predictor_database.h
  6. lcp_critical_path_predictor_database_unittest.cc
  7. lcp_critical_path_predictor_host.cc
  8. lcp_critical_path_predictor_host.h
  9. lcp_critical_path_predictor_keyed_service.cc
  10. lcp_critical_path_predictor_keyed_service.h
  11. lcp_critical_path_predictor_keyed_service_factory.cc
  12. lcp_critical_path_predictor_keyed_service_factory.h
  13. lcp_critical_path_predictor_keyed_service_unittest.cc
  14. lcp_critical_path_predictor_persister.cc
  15. lcp_critical_path_predictor_persister.h
  16. lcp_critical_path_predictor_persister_unittest.cc
  17. OWNERS
  18. 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.