| Index: net/url_request/url_fetcher.h
|
| diff --git a/net/url_request/url_fetcher.h b/net/url_request/url_fetcher.h
|
| index 1de8bad0872b71e3c4b6b07199dd15df3d008bb7..4cc6f5fa62edb731d4a50dc74c1b2c5c7840dd71 100644
|
| --- a/net/url_request/url_fetcher.h
|
| +++ b/net/url_request/url_fetcher.h
|
| @@ -12,7 +12,6 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/supports_user_data.h"
|
| -#include "base/task_runner.h"
|
| #include "net/base/net_export.h"
|
|
|
| class GURL;
|
| @@ -20,6 +19,8 @@ class GURL;
|
| namespace base {
|
| class FilePath;
|
| class MessageLoopProxy;
|
| +class SequencedTaskRunner;
|
| +class TaskRunner;
|
| class TimeDelta;
|
| }
|
|
|
| @@ -231,7 +232,7 @@ class NET_EXPORT URLFetcher {
|
| // take ownership by calling GetResponseAsFilePath().
|
| virtual void SaveResponseToFileAtPath(
|
| const base::FilePath& file_path,
|
| - scoped_refptr<base::TaskRunner> file_task_runner) = 0;
|
| + scoped_refptr<base::SequencedTaskRunner> file_task_runner) = 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().
|
| @@ -239,7 +240,7 @@ class NET_EXPORT URLFetcher {
|
| // The created file is removed when the URLFetcher is deleted unless you
|
| // take ownership by calling GetResponseAsFilePath().
|
| virtual void SaveResponseToTemporaryFile(
|
| - scoped_refptr<base::TaskRunner> file_task_runner) = 0;
|
| + scoped_refptr<base::SequencedTaskRunner> file_task_runner) = 0;
|
|
|
| // By default, the response is saved in a string. Call this method to use the
|
| // specified writer to save the response. Must be called before Start().
|
|
|