chromium/chrome/browser/resource_coordinator/lifecycle_unit_source_base.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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() {}

}  // namespace resource_coordinator