Chromium Code Reviews| 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..f1a71c7c5ff4afb46d0374431c35f5f8e9bd2d92 100644 |
| --- a/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h |
| +++ b/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h |
| @@ -45,8 +45,11 @@ 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; |
| + |
| + // Unregisters URLs so they are no longer mocked. This also clears the |
| + // MemoryCache. |
| virtual void unregisterAllURLs() = 0; |
|
dcheng
2017/02/09 19:42:12
I wonder if it'd be clearer if it was named:
unre
|
| // Causes all pending asynchronous requests to be served. When this method |