| 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 b3cc9b16f918ec866ead8c913c0155fb77a24ad6..e223ac4a109195597cfb7975016ff4401717eaaf 100644
|
| --- a/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
|
| +++ b/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
|
| @@ -45,9 +45,12 @@ class WebURLLoaderMockFactory {
|
| const WebURLResponse&,
|
| const WebURLError&) = 0;
|
|
|
| - // Unregisters URLs so they are no longer mocked.
|
| + // Unregisters the given URL so it is no longer mocked.
|
| virtual void unregisterURL(const WebURL&) = 0;
|
| - virtual void unregisterAllURLs() = 0;
|
| +
|
| + // Unregisters URLs so they are no longer mocked. This also clears the
|
| + // MemoryCache.
|
| + virtual void unregisterAllURLsAndClearMemoryCache() = 0;
|
|
|
| // Causes all pending asynchronous requests to be served. When this method
|
| // returns all the pending requests have been processed.
|
|
|