Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1169)

Unified Diff: public/platform/WebUnitTestSupport.h

Issue 1303953003: Expand the interface to WebURLLoaderTestDelegate. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing files. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebURLLoaderTestDelegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(); }
« no previous file with comments | « public/platform/WebURLLoaderTestDelegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698