chromium/chrome/browser/task_manager/providers/web_contents/back_forward_cache_task.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 "chrome/browser/task_manager/providers/web_contents/back_forward_cache_task.h"

#include <string>

#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/task_manager/providers/web_contents/web_contents_task_provider.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"

namespace {

std::u16string GetTaskTitle(content::RenderFrameHost* render_frame_host,
                            task_manager::RendererTask* parent_task) {}

}  // anonymous namespace

namespace task_manager {

BackForwardCacheTask::BackForwardCacheTask(
    content::RenderFrameHost* render_frame_host,
    RendererTask* parent_task,
    WebContentsTaskProvider* task_provider)
    :{}

// For the top level BackForwardCacheTask |parent_task_| is nullptr.
Task* BackForwardCacheTask::GetParentTask() const {}

// The top page calls the default Activate().
void BackForwardCacheTask::Activate() {}

// BackForwardCache entries are frozen and must not have any updates.
// However, they are associated with the same WebContents as the active page
// and receive these updates when that page changes.
void BackForwardCacheTask::UpdateTitle() {}

void BackForwardCacheTask::UpdateFavicon() {}

}  // namespace task_manager