#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) { … }
}
namespace task_manager {
BackForwardCacheTask::BackForwardCacheTask(
content::RenderFrameHost* render_frame_host,
RendererTask* parent_task,
WebContentsTaskProvider* task_provider)
: … { … }
Task* BackForwardCacheTask::GetParentTask() const { … }
void BackForwardCacheTask::Activate() { … }
void BackForwardCacheTask::UpdateTitle() { … }
void BackForwardCacheTask::UpdateFavicon() { … }
}