• Brandon Walderman's avatar
    Check status of GetWebViewsInfo on new session · 34b0d610
    Brandon Walderman authored
    GetWebViewsInfo returns a Status so its value should be checked during
    WaitForDevToolsAndCheckVersion and propagated to the client in case of
    failure.
    
    Also attempting to improve reliability by always trying GetWebViewsInfo
    at least once, even if the deadline is reached. It is possible for the
    call to DevToolsHttpClient::Init to exceed the deadline but return an
    OK status. If this happens, we currently return an error even though
    GetWebViewsInfo would likely succeed as well.
    
    Bug: 951876
    Change-Id: I1623919b22a07f5e4d5b9ea3141e18e6b07d9935
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1851912Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
    Commit-Queue: Brandon Walderman <brwalder@microsoft.com>
    Cr-Commit-Position: refs/heads/master@{#704672}
    34b0d610
chrome_launcher.cc 43.5 KB