#include "chrome/browser/resource_coordinator/lifecycle_unit_source_base.h"
#include "base/observer_list.h"
#include "chrome/browser/resource_coordinator/lifecycle_unit_base.h"
#include "chrome/browser/resource_coordinator/lifecycle_unit_source_observer.h"
namespace resource_coordinator {
LifecycleUnitSourceBase::LifecycleUnitSourceBase() = default;
LifecycleUnitSourceBase::~LifecycleUnitSourceBase() = default;
void LifecycleUnitSourceBase::AddObserver(
LifecycleUnitSourceObserver* observer) { … }
void LifecycleUnitSourceBase::RemoveObserver(
LifecycleUnitSourceObserver* observer) { … }
void LifecycleUnitSourceBase::NotifyLifecycleUnitBeingCreated(
LifecycleUnitBase* lifecycle_unit) { … }
void LifecycleUnitSourceBase::NotifyLifecycleUnitCreated(
LifecycleUnitBase* lifecycle_unit) { … }
void LifecycleUnitSourceBase::NotifyLifecycleUnitBeingDestroyed(
LifecycleUnitBase* lifecycle_unit) { … }
void LifecycleUnitSourceBase::OnFirstLifecycleUnitCreated() { … }
void LifecycleUnitSourceBase::OnAllLifecycleUnitsDestroyed() { … }
}