chromium/chrome/browser/performance_manager/page_node_browsertest.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 "base/test/bind.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "components/performance_manager/graph/page_node_impl.h"
#include "components/performance_manager/public/graph/page_node.h"
#include "components/performance_manager/public/performance_manager.h"
#include "content/public/test/browser_test.h"
#include "extensions/browser/process_manager.h"

namespace performance_manager {

namespace {

PageNodeBrowserTest;

void ExpectPageType(base::WeakPtr<PageNode> page_node, PageType expected_type) {}

}  // namespace

// Integration test verifying that the correct type is set for a PageNode
// associated with a tab.
IN_PROC_BROWSER_TEST_F(PageNodeBrowserTest, TypeTab) {}

// Integration test verifying that the correct type is set for a PageNode
// associated with an extension background page.
IN_PROC_BROWSER_TEST_F(PageNodeBrowserTest, TypeExtension) {}

}  // namespace performance_manager