| Index: content/common/net/url_fetcher_impl.h
|
| diff --git a/content/common/net/url_fetcher_impl.h b/content/common/net/url_fetcher_impl.h
|
| index 47e97f5c88bdd2e6d379e9d5045fbd8afcba86fe..0cf73f08166a9be5a3a5e89bff87f952d16b2d76 100644
|
| --- a/content/common/net/url_fetcher_impl.h
|
| +++ b/content/common/net/url_fetcher_impl.h
|
| @@ -55,6 +55,9 @@ class CONTENT_EXPORT URLFetcherImpl : public content::URLFetcher{
|
| virtual void SetMaxRetries(int max_retries) OVERRIDE;
|
| virtual int GetMaxRetries() const OVERRIDE;
|
| virtual base::TimeDelta GetBackoffDelay() const OVERRIDE;
|
| + virtual void SaveResponseToFileAtPath(
|
| + const FilePath& file_path,
|
| + scoped_refptr<base::MessageLoopProxy> file_message_loop_proxy) OVERRIDE;
|
| virtual void SaveResponseToTemporaryFile(
|
| scoped_refptr<base::MessageLoopProxy> file_message_loop_proxy) OVERRIDE;
|
| virtual net::HttpResponseHeaders* GetResponseHeaders() const OVERRIDE;
|
| @@ -83,7 +86,8 @@ class CONTENT_EXPORT URLFetcherImpl : public content::URLFetcher{
|
| // How should the response be stored?
|
| enum ResponseDestinationType {
|
| STRING, // Default: In a std::string
|
| - FILE // Write to a file
|
| + PERMANENT_FILE, // Write to a permanent file.
|
| + TEMP_FILE, // Write to a temporary file.
|
| };
|
|
|
| // Returns the delegate.
|
|
|