Index: content/test/weburl_loader_mock_factory.h |
diff --git a/content/test/weburl_loader_mock_factory.h b/content/test/weburl_loader_mock_factory.h |
index f9fb9dae4bfc82a8444622463223a5a5463ebf86..cc0a9ff6c5db8dcaa733195ec08b8d5a212f8ef3 100644 |
--- a/content/test/weburl_loader_mock_factory.h |
+++ b/content/test/weburl_loader_mock_factory.h |
@@ -38,11 +38,11 @@ class WebURLLoaderMockFactory { |
virtual blink::WebURLLoader* CreateURLLoader( |
blink::WebURLLoader* default_loader); |
- // Registers a response and the contents to be served when the specified URL |
- // is loaded. |
+ // 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. |
void RegisterURL(const blink::WebURL& url, |
const blink::WebURLResponse& response, |
- const blink::WebString& filePath); |
+ const blink::WebString& filePath = blink::WebString()); |
// Registers an error to be served when the specified URL is requested. |
void RegisterErrorURL(const blink::WebURL& url, |