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

Side by Side Diff: net/tools/dump_cache/cache_dumper.cc

Issue 14820034: Cleanup: Remove unneeded base/file_util.h includes in chrome_frame, courgette, ipc, media, and net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix build Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/dump_cache/cache_dumper.h ('k') | net/url_request/url_request_file_dir_job.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/tools/dump_cache/cache_dumper.h" 5 #include "net/tools/dump_cache/cache_dumper.h"
6 6
7 #include "base/file_util.h"
7 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
8 #include "net/base/io_buffer.h" 9 #include "net/base/io_buffer.h"
9 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
10 #include "net/disk_cache/entry_impl.h" 11 #include "net/disk_cache/entry_impl.h"
11 #include "net/http/http_cache.h" 12 #include "net/http/http_cache.h"
12 #include "net/http/http_response_headers.h" 13 #include "net/http/http_response_headers.h"
13 #include "net/http/http_response_info.h" 14 #include "net/http/http_response_info.h"
14 #include "net/tools/dump_cache/url_to_filename_encoder.h" 15 #include "net/tools/dump_cache/url_to_filename_encoder.h"
15 16
16 CacheDumper::CacheDumper(disk_cache::Backend* cache) 17 CacheDumper::CacheDumper(disk_cache::Backend* cache)
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 } 214 }
214 215
215 void DiskDumper::CloseEntry(disk_cache::Entry* entry, base::Time last_used, 216 void DiskDumper::CloseEntry(disk_cache::Entry* entry, base::Time last_used,
216 base::Time last_modified) { 217 base::Time last_modified) {
217 #ifdef WIN32_LARGE_FILENAME_SUPPORT 218 #ifdef WIN32_LARGE_FILENAME_SUPPORT
218 CloseHandle(entry_); 219 CloseHandle(entry_);
219 #else 220 #else
220 file_util::CloseFile(entry_); 221 file_util::CloseFile(entry_);
221 #endif 222 #endif
222 } 223 }
OLDNEW
« no previous file with comments | « net/tools/dump_cache/cache_dumper.h ('k') | net/url_request/url_request_file_dir_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698