Expand the interface to WebURLLoaderTestDelegate.
To implement FOUC tests we need to be able to control both the didReceiveData and the didFinishLoading callbacks to have precise control over when resources finish loading. This patch expands the interface of WebURLLoaderTestDelegate to delegate all the steps called in WebURLLoaderMock::ServeAsynchronousRequest. It also provides a default implementation of each one so tests don't need to add each proxy method. It also allows this patch to avoid being multiple steps to handle the Chromium changes. The next patch in Chromium will update ServeAsynchronousRequest to use the new methods. BUG=521692 R=pdr@chromium.org Review URL: https://codereview.chromium.org/1303953003 git-svn-id: svn://svn.chromium.org/blink/trunk@201003 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment