#include "third_party/blink/renderer/controller/performance_manager/renderer_resource_coordinator_impl.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/memory/ptr_util.h"
#include "components/performance_manager/public/mojom/coordination_unit.mojom-blink.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/tokens/tokens.h"
#include "third_party/blink/public/mojom/frame/tree_scope_type.mojom-blink.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/frame/web_remote_frame_impl.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "v8/include/v8.h"
namespace blink {
namespace {
IframeAttributionData;
IframeAttributionDataPtr;
ProcessCoordinationUnit;
V8ContextDescription;
V8ContextDescriptionPtr;
_;
AllOf;
Field;
InSequence;
Mock;
Pointee;
class MockProcessCoordinationUnit : public ProcessCoordinationUnit { … };
MATCHER_P(MatchV8ContextDescription,
execution_context_token,
"V8ContextDescription::execution_context_token matches") { … }
MATCHER_P2(MatchAndSaveV8ContextDescription,
execution_context_token,
output_token,
"V8ContextDescription::execution_context_token matches") { … }
}
class RendererResourceCoordinatorImplTest : public ::testing::Test { … };
TEST_F(RendererResourceCoordinatorImplTest, IframeNotifications) { … }
TEST_F(RendererResourceCoordinatorImplTest, NonIframeNotifications) { … }
}