// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_BROWSER_API_OFFSCREEN_LIFETIME_ENFORCER_FACTORIES_H_ #define EXTENSIONS_BROWSER_API_OFFSCREEN_LIFETIME_ENFORCER_FACTORIES_H_ #include <map> #include "base/functional/callback.h" #include "base/no_destructor.h" #include "extensions/browser/api/offscreen/offscreen_document_lifetime_enforcer.h" #include "extensions/common/api/offscreen.h" namespace extensions { // A registry of factories to create different lifetime enforcers for // offscreen documents. class LifetimeEnforcerFactories { … }; } // namespace extensions #endif // EXTENSIONS_BROWSER_API_OFFSCREEN_LIFETIME_ENFORCER_FACTORIES_H_