chromium/components/performance_manager/freezing/freezer.cc

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

#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 {

// Try to freeze a page on the UI thread.
void MaybeFreezePageOnUIThread(base::WeakPtr<content::WebContents> contents) {}

void UnfreezePageOnUIThread(base::WeakPtr<content::WebContents> contents) {}

}  // namespace

void Freezer::MaybeFreezePageNode(const PageNode* page_node) {}

void Freezer::UnfreezePageNode(const PageNode* page_node) {}

}  // namespace performance_manager