| Index: third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
|
| diff --git a/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h b/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
|
| index 1e17c337b89e88e1828d46ead4ea25743e300ea0..b3cc9b16f918ec866ead8c913c0155fb77a24ad6 100644
|
| --- a/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
|
| +++ b/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
|
| @@ -32,11 +32,15 @@ class WebURLLoaderMockFactory {
|
|
|
| // Registers a response and the file to be served when the specified URL
|
| // is loaded. If no file is specified then the response content will be empty.
|
| + // unregisterURL() should be called for each test entry before registering
|
| + // another response for the same URL from another test.
|
| virtual void registerURL(const WebURL&,
|
| const WebURLResponse&,
|
| const WebString& filePath) = 0;
|
|
|
| // Registers an error to be served when the specified URL is requested.
|
| + // unregisterURL() should be called for each test entry before registering
|
| + // another response for the same URL from another test.
|
| virtual void registerErrorURL(const WebURL&,
|
| const WebURLResponse&,
|
| const WebURLError&) = 0;
|
|
|