chromium/components/performance_manager/freezing/freezer_unittest.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 "components/performance_manager/public/performance_manager.h"
#include "components/performance_manager/test_support/performance_manager_test_harness.h"
#include "components/performance_manager/test_support/test_harness_helper.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/web_contents.h"
#include "content/public/test/mock_permission_controller.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace performance_manager {
namespace mechanism {

namespace {

static constexpr char kUrl[] =;

void FlushUIThreadTasks() {}

void MaybeFreezePageNode(content::WebContents* content) {}

void UnfreezePageNode(content::WebContents* content) {}

}  // namespace

FreezerTest;

TEST_F(FreezerTest, FreezeAndUnfreezePage) {}

TEST_F(FreezerTest, CantFreezePageWithNotificationPermission) {}

}  // namespace mechanism
}  // namespace performance_manager