#include "components/performance_manager/v8_memory/v8_context_tracker.h"
#include <memory>
#include "base/location.h"
#include "base/strings/stringprintf.h"
#include "base/command_line.h"
#include "components/performance_manager/execution_context/execution_context_registry_impl.h"
#include "components/performance_manager/public/graph/graph.h"
#include "components/performance_manager/public/performance_manager.h"
#include "components/performance_manager/test_support/performance_manager_browsertest_harness.h"
#include "components/performance_manager/test_support/run_in_graph.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "content/public/test/test_utils.h"
namespace performance_manager {
namespace v8_memory {
struct ContextCounts { … };
class V8ContextTrackerTest : public PerformanceManagerBrowserTestHarness { … };
#if BUILDFLAG(IS_MAC)
#define MAYBE_AboutBlank …
#else
#define MAYBE_AboutBlank …
#endif
IN_PROC_BROWSER_TEST_F(V8ContextTrackerTest, MAYBE_AboutBlank) { … }
IN_PROC_BROWSER_TEST_F(V8ContextTrackerTest, SameOriginIframeAttributionData) { … }
#if BUILDFLAG(IS_MAC)
#define MAYBE_CrossOriginIframeAttributionData …
#else
#define MAYBE_CrossOriginIframeAttributionData …
#endif
IN_PROC_BROWSER_TEST_F(V8ContextTrackerTest,
MAYBE_CrossOriginIframeAttributionData) { … }
#if BUILDFLAG(IS_MAC)
#define MAYBE_SameSiteNavigation …
#else
#define MAYBE_SameSiteNavigation …
#endif
IN_PROC_BROWSER_TEST_F(V8ContextTrackerTest, MAYBE_SameSiteNavigation) { … }
IN_PROC_BROWSER_TEST_F(V8ContextTrackerTest, DetachedContext) { … }
}
}