#include "components/performance_manager/freezing/freezer.h"
#include "base/functional/bind.h"
#include "base/memory/weak_ptr.h"
#include "base/task/task_traits.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/performance_manager/public/graph/page_node.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/permission_controller.h"
#include "content/public/browser/visibility.h"
#include "content/public/browser/web_contents.h"
#include "third_party/blink/public/common/permissions/permission_utils.h"
namespace performance_manager {
namespace {
void MaybeFreezePageOnUIThread(base::WeakPtr<content::WebContents> contents) { … }
void UnfreezePageOnUIThread(base::WeakPtr<content::WebContents> contents) { … }
}
void Freezer::MaybeFreezePageNode(const PageNode* page_node) { … }
void Freezer::UnfreezePageNode(const PageNode* page_node) { … }
}