Index: content/public/common/url_fetcher.h |
diff --git a/content/public/common/url_fetcher.h b/content/public/common/url_fetcher.h |
index 571a34bc85624b09e67fca77634229174a9a999f..2bd3bef976153ca302d52ec1e55c0efafa65ba8e 100644 |
--- a/content/public/common/url_fetcher.h |
+++ b/content/public/common/url_fetcher.h |
@@ -169,6 +169,13 @@ class CONTENT_EXPORT URLFetcher { |
virtual base::TimeDelta GetBackoffDelay() const = 0; |
// By default, the response is saved in a string. Call this method to save the |
+ // response to a file instead. Must be called before Start(). |
+ // |file_message_loop_proxy| will be used for all file operations. |
Sam Kerner (Chrome)
2012/03/06 00:23:06
Add something like:
// To save to a temporary pat
hashimoto
2012/03/06 10:16:01
Done.
|
+ virtual void SaveResponseToFile( |
+ const FilePath& file_path, |
+ scoped_refptr<base::MessageLoopProxy> file_message_loop_proxy) = 0; |
+ |
+ // By default, the response is saved in a string. Call this method to save the |
// response to a temporary file instead. Must be called before Start(). |
// |file_message_loop_proxy| will be used for all file operations. |
virtual void SaveResponseToTemporaryFile( |