#include "components/performance_manager/public/resource_attribution/process_context.h"
#include <memory>
#include <optional>
#include "base/memory/weak_ptr.h"
#include "components/performance_manager/public/graph/process_node.h"
#include "components/performance_manager/public/performance_manager.h"
#include "components/performance_manager/public/render_process_host_id.h"
#include "components/performance_manager/resource_attribution/performance_manager_aliases.h"
#include "components/performance_manager/test_support/performance_manager_test_harness.h"
#include "components/performance_manager/test_support/run_in_graph.h"
#include "components/performance_manager/test_support/test_browser_child_process.h"
#include "content/public/browser/browser_child_process_host.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/process_type.h"
#include "content/public/test/navigation_simulator.h"
#include "content/public/test/test_renderer_host.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace resource_attribution {
namespace {
TestBrowserChildProcess;
ResourceAttrProcessContextTest;
ResourceAttrProcessContextNoPMTest;
TEST_F(ResourceAttrProcessContextTest, BrowserProcessContext) { … }
TEST_F(ResourceAttrProcessContextTest, RenderProcessContext) { … }
TEST_F(ResourceAttrProcessContextTest, BrowserChildProcessContext) { … }
TEST_F(ResourceAttrProcessContextNoPMTest, ProcessContextWithoutPM) { … }
}
}