#include "third_party/blink/renderer/controller/performance_manager/v8_detailed_memory_reporter_impl.h"
#include "base/test/bind.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/testing/sim/sim_compositor.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
#include "third_party/blink/renderer/core/workers/dedicated_worker_test.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "v8/include/v8.h"
namespace blink {
class V8DetailedMemoryReporterImplTest : public SimTest { … };
class V8DetailedMemoryReporterImplWorkerTest : public DedicatedWorkerTest { … };
namespace {
class MemoryUsageChecker { … };
class CanvasMemoryUsageChecker { … };
}
TEST_F(V8DetailedMemoryReporterImplTest, GetV8MemoryUsage) { … }
TEST_F(V8DetailedMemoryReporterImplWorkerTest, GetV8MemoryUsage) { … }
TEST_F(V8DetailedMemoryReporterImplTest, CanvasMemoryUsage) { … }
}