| Index: net/url_request/url_fetcher_response_writer.cc
|
| diff --git a/net/url_request/url_fetcher_response_writer.cc b/net/url_request/url_fetcher_response_writer.cc
|
| index 7d3c271209c782bb6109f53c769f2b223cc92b38..7db614fad507a09f64ee052562e7c78308567d20 100644
|
| --- a/net/url_request/url_fetcher_response_writer.cc
|
| +++ b/net/url_request/url_fetcher_response_writer.cc
|
| @@ -80,8 +80,8 @@ int URLFetcherFileWriter::Initialize(const CompletionCallback& callback) {
|
| } else {
|
| result = file_stream_->Open(
|
| file_path_,
|
| - base::PLATFORM_FILE_WRITE | base::PLATFORM_FILE_ASYNC |
|
| - base::PLATFORM_FILE_CREATE_ALWAYS,
|
| + base::File::FLAG_WRITE | base::File::FLAG_ASYNC |
|
| + base::File::FLAG_CREATE_ALWAYS,
|
| base::Bind(&URLFetcherFileWriter::DidOpenFile,
|
| weak_factory_.GetWeakPtr(),
|
| callback));
|
| @@ -162,8 +162,8 @@ void URLFetcherFileWriter::DidCreateTempFile(const CompletionCallback& callback,
|
| owns_file_ = true;
|
| const int result = file_stream_->Open(
|
| file_path_,
|
| - base::PLATFORM_FILE_WRITE | base::PLATFORM_FILE_ASYNC |
|
| - base::PLATFORM_FILE_OPEN,
|
| + base::File::FLAG_WRITE | base::File::FLAG_ASYNC |
|
| + base::File::FLAG_OPEN,
|
| base::Bind(&URLFetcherFileWriter::DidOpenFile,
|
| weak_factory_.GetWeakPtr(),
|
| callback));
|
|
|