Make test_runner::LayoutDumpFlags an internal detail of components/test_runner.
To simplify public API surface of components/test_runner we can hide LayoutDumpFlags behind WebTestRunner interface. For example - instead of returning the whole LayoutDumpFlags struct, we can only expose IsRecursiveLayoutDumpRequested method - this is consistent with how other similar methods are exposed via WebTestRunner (i.e. we already have ShouldDumpAsAudio and/or ShouldGeneratePixelResults). After doing this components/test_runner/layout_dump_flags.h and components/test_runner/layout_dump.h headers no longer needs to be included outside of components/test_runner. BUG=595089 Review URL: https://codereview.chromium.org/1805243002 Cr-Commit-Position: refs/heads/master@{#381819}
Showing
Please register or sign in to comment