• Bret Sepulveda's avatar
    Add Chrome-specific subclass of TestViewsDelegate. · 5589ae26
    Bret Sepulveda authored
    An in-progress patch caused tests to fail because ChromeLayoutProvider
    was being requested when only a base LayoutProvider was available.
    ChromeViewsTestBase, which I added earlier to make it easy to fix this
    problem, didn't work in this case because the test was using
    TestViewsDelegate directly.
    
    This patch adds a ChromeTestViewsDelegate, and updates
    ChromeViewsTestBase to use it. This patch also updates several test
    suites to use one of those two classes.
    
    Change-Id: Ie970cf35bde3eee14ccd4c52bc6ded2539a23e9c
    Reviewed-on: https://chromium-review.googlesource.com/1036609Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Bret Sepulveda <bsep@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#555191}
    5589ae26
BUILD.gn 283 KB