chromium/content/browser/site_instance_group.cc

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

#include "content/browser/site_instance_group.h"

#include "base/observer_list.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/site_instance_impl.h"
#include "content/public/browser/render_process_host.h"

namespace content {

namespace {
SiteInstanceGroupId::Generator site_instance_group_id_generator;
}  // namespace

SiteInstanceGroup::SiteInstanceGroup(BrowsingInstance* browsing_instance,
                                     RenderProcessHost* process)
    :{}

SiteInstanceGroup::~SiteInstanceGroup() {}

SiteInstanceGroupId SiteInstanceGroup::GetId() const {}

base::SafeRef<SiteInstanceGroup> SiteInstanceGroup::GetSafeRef() {}

base::WeakPtr<SiteInstanceGroup>
SiteInstanceGroup::GetWeakPtrToAllowDangling() {}

void SiteInstanceGroup::AddObserver(Observer* observer) {}

void SiteInstanceGroup::RemoveObserver(Observer* observer) {}

void SiteInstanceGroup::AddSiteInstance(SiteInstanceImpl* site_instance) {}

void SiteInstanceGroup::RemoveSiteInstance(SiteInstanceImpl* site_instance) {}

void SiteInstanceGroup::IncrementActiveFrameCount() {}

void SiteInstanceGroup::DecrementActiveFrameCount() {}

void SiteInstanceGroup::IncrementKeepAliveCount() {}

void SiteInstanceGroup::DecrementKeepAliveCount() {}

bool SiteInstanceGroup::IsRelatedSiteInstanceGroup(SiteInstanceGroup* group) {}

bool SiteInstanceGroup::IsCoopRelatedSiteInstanceGroup(
    SiteInstanceGroup* group) {}

void SiteInstanceGroup::RenderProcessHostDestroyed(RenderProcessHost* host) {}

void SiteInstanceGroup::RenderProcessExited(
    RenderProcessHost* host,
    const ChildProcessTerminationInfo& info) {}

const StoragePartitionConfig& SiteInstanceGroup::GetStoragePartitionConfig()
    const {}

// static
SiteInstanceGroup* SiteInstanceGroup::CreateForTesting(
    BrowserContext* browser_context,
    RenderProcessHost* process) {}

// static
SiteInstanceGroup* SiteInstanceGroup::CreateForTesting(
    SiteInstanceGroup* group,
    RenderProcessHost* process) {}

void SiteInstanceGroup::WriteIntoTrace(
    perfetto::TracedProto<TraceProto> proto) const {}

}  // namespace content