| Index: public/platform/WebUnitTestSupport.h
|
| diff --git a/public/platform/WebUnitTestSupport.h b/public/platform/WebUnitTestSupport.h
|
| index 5edc6a7fe4e5701a916b0b54030c5c80c592593b..8cc38dbc710b299dd59d93d09285847449505055 100644
|
| --- a/public/platform/WebUnitTestSupport.h
|
| +++ b/public/platform/WebUnitTestSupport.h
|
| @@ -30,24 +30,16 @@
|
| #include "WebCommon.h"
|
| #include "WebData.h"
|
| #include "WebString.h"
|
| +#include "WebURLLoaderTestDelegate.h"
|
| #include "WebVector.h"
|
|
|
| namespace blink {
|
|
|
| class WebLayerTreeView;
|
| class WebURL;
|
| -class WebURLLoader;
|
| class WebURLResponse;
|
| -class WebURLLoaderClient;
|
| struct WebURLError;
|
|
|
| -class WebURLLoaderTestDelegate {
|
| -public:
|
| - ~WebURLLoaderTestDelegate() { }
|
| -
|
| - virtual void didReceiveData(WebURLLoaderClient* originalClient, WebURLLoader*, const char* data, int dataLength, int encodedDataLength) { }
|
| -};
|
| -
|
| class WebUnitTestSupport {
|
| public:
|
| virtual void registerMockedURL(const WebURL&, const WebURLResponse&, const WebString& filePath) { }
|
| @@ -64,7 +56,7 @@ public:
|
| virtual void serveAsynchronousMockedRequests() { }
|
|
|
| // Set a delegate that allows callbacks for all WebURLLoaderClients to be intercepted.
|
| - virtual void setLoaderDelegate(WebURLLoaderTestDelegate*) {}
|
| + virtual void setLoaderDelegate(WebURLLoaderTestDelegate*) { }
|
|
|
| // Returns the root directory of the WebKit code.
|
| virtual WebString webKitRootDir() { return WebString(); }
|
|
|