-
Kunihiko Sakamoto authored
crrev.com/c/1903166 introduced a new testing API for data_decoder_service which allows tests to inject WebBundleParserFactory for testing. This patch migrates existing unit tests to use it, and removes SetWebBundleParserFactoryForTesting() from WebBundleReader and SafeWebBundleParser. Bug: 969596 Change-Id: I3e0da13a2202c25c177a24a16c2208fff27683b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1935778Reviewed-by:
Tsuyoshi Horo <horo@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#719438}
984c0351