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

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

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/socket_stream/socket_stream_unittest.cc ('k') | net/url_request/url_request_unittest.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/utf_string_conversions.h"
7 #include "net/base/io_buffer.h" 8 #include "net/base/io_buffer.h"
8 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
9 #include "net/disk_cache/entry_impl.h" 10 #include "net/disk_cache/entry_impl.h"
10 #include "net/http/http_cache.h" 11 #include "net/http/http_cache.h"
11 #include "net/http/http_response_headers.h" 12 #include "net/http/http_response_headers.h"
12 #include "net/http/http_response_info.h" 13 #include "net/http/http_response_info.h"
13 #include "net/tools/dump_cache/url_to_filename_encoder.h" 14 #include "net/tools/dump_cache/url_to_filename_encoder.h"
14 15
15 int CacheDumper::CreateEntry(const std::string& key, 16 int CacheDumper::CreateEntry(const std::string& key,
16 disk_cache::Entry** entry, 17 disk_cache::Entry** entry,
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 204
204 void DiskDumper::CloseEntry(disk_cache::Entry* entry, base::Time last_used, 205 void DiskDumper::CloseEntry(disk_cache::Entry* entry, base::Time last_used,
205 base::Time last_modified) { 206 base::Time last_modified) {
206 #ifdef WIN32_LARGE_FILENAME_SUPPORT 207 #ifdef WIN32_LARGE_FILENAME_SUPPORT
207 CloseHandle(entry_); 208 CloseHandle(entry_);
208 #else 209 #else
209 file_util::CloseFile(entry_); 210 file_util::CloseFile(entry_);
210 #endif 211 #endif
211 } 212 }
212 213
OLDNEW
« no previous file with comments | « net/socket_stream/socket_stream_unittest.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698