#include "components/ukm/test_ukm_recorder.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/html/canvas/canvas_context_creation_attributes_core.h"
#include "third_party/blink/renderer/core/html/canvas/canvas_rendering_context.h"
#include "third_party/blink/renderer/core/offscreencanvas/offscreen_canvas.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
namespace blink {
class CanvasRenderingAPIUkmMetricsTest : public PageTestBase { … };
CanvasRenderingAPIUkmMetricsTest::CanvasRenderingAPIUkmMetricsTest() = default;
TEST_F(CanvasRenderingAPIUkmMetricsTest, Canvas2D) { … }
TEST_F(CanvasRenderingAPIUkmMetricsTest, CanvasBitmapRenderer) { … }
}