• danakj's avatar
    Separate content shell from web test common and renderer code. · af29c607
    danakj authored
    Move kRunWebTests up to shell_switches.h as it is a switch to control
    content shell, causing it to inject web test code.
    
    Introduce DEPS rule to disallow content/shell/ to use
      content/shell/common/web_test
      content/shell/renderer/web_test
    
    Allow content/shell/test_runner to still access these, as it is part
    of web test code.
    
    Allow content/shell/app/shell_main_delegate.cc to access
      content/shell/renderer/web_test/
      content/shell/browser/web_test/
    in order to inject web test behaviour into the application at run-time.
    
    R=nasko@chromium.org
    
    Bug: 866140
    Change-Id: I3c0ca417b537506f6d7fad55c4a1bb5e495d94c8
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2122462
    Commit-Queue: danakj <danakj@chromium.org>
    Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#754956}
    af29c607
shell_main_delegate.cc 12.5 KB