Index: webkit/support/weburl_loader_mock_factory.h |
=================================================================== |
--- webkit/support/weburl_loader_mock_factory.h (revision 129167) |
+++ webkit/support/weburl_loader_mock_factory.h (working copy) |
@@ -76,6 +76,9 @@ |
WebKit::WebURLError* error, |
WebKit::WebData* data); |
+ // Checks if the loader is pending. Otherwise, it may have been deleted. |
+ bool IsPending(WebURLLoaderMock* loader); |
+ |
// Reads |m_filePath| and puts its content in |data|. |
// Returns true if it successfully read the file. |
static bool ReadFile(const FilePath& file_path, WebKit::WebData* data); |