#include "chrome/browser/task_manager/providers/web_contents/extension_task.h"
#include <memory>
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/chrome_pages.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "extensions/browser/process_manager.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_handlers/icons_handler.h"
#include "extensions/grit/extensions_browser_resources.h"
namespace task_manager {
gfx::ImageSkia* ExtensionTask::s_icon_ = …;
ExtensionTask::ExtensionTask(content::WebContents* web_contents,
const extensions::Extension* extension,
extensions::mojom::ViewType view_type)
: … { … }
ExtensionTask::~ExtensionTask() { … }
void ExtensionTask::UpdateTitle() { … }
void ExtensionTask::UpdateFavicon() { … }
void ExtensionTask::Activate() { … }
Task::Type ExtensionTask::GetType() const { … }
int ExtensionTask::GetKeepaliveCount() const { … }
void ExtensionTask::OnExtensionIconImageChanged(extensions::IconImage* image) { … }
std::u16string ExtensionTask::GetExtensionTitle(
content::WebContents* web_contents,
const extensions::Extension* extension,
extensions::mojom::ViewType view_type) const { … }
void ExtensionTask::LoadExtensionIcon(const extensions::Extension* extension) { … }
}