Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: net/url_request/url_fetcher_response_writer.cc

Issue 520303003: Change base/file_utils.h includes to base/files/file_utils.h in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/url_fetcher_response_writer.h" 5 #include "net/url_request/url_fetcher_response_writer.h"
6 6
7 #include "base/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/sequenced_task_runner.h" 9 #include "base/sequenced_task_runner.h"
10 #include "base/task_runner_util.h" 10 #include "base/task_runner_util.h"
11 #include "net/base/file_stream.h" 11 #include "net/base/file_stream.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 URLFetcherStringWriter* URLFetcherResponseWriter::AsStringWriter() { 17 URLFetcherStringWriter* URLFetcherResponseWriter::AsStringWriter() {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 } 182 }
183 183
184 void URLFetcherFileWriter::CloseComplete(const CompletionCallback& callback, 184 void URLFetcherFileWriter::CloseComplete(const CompletionCallback& callback,
185 int result) { 185 int result) {
186 // Destroy |file_stream_| whether or not the close succeeded. 186 // Destroy |file_stream_| whether or not the close succeeded.
187 file_stream_.reset(); 187 file_stream_.reset();
188 callback.Run(result); 188 callback.Run(result);
189 } 189 }
190 190
191 } // namespace net 191 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher_impl_unittest.cc ('k') | net/url_request/url_fetcher_response_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698