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

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

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
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 #ifndef NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_ 5 #ifndef NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_
6 #define NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_ 6 #define NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/file_util.h"
11 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
12 #include "net/disk_cache/backend_impl.h" 11 #include "net/disk_cache/backend_impl.h"
13 12
14 #ifdef WIN32 13 #ifdef WIN32
15 // Dumping the cache often creates very large filenames, which are tricky 14 // Dumping the cache often creates very large filenames, which are tricky
16 // on windows. Most API calls don't support large filenames, including 15 // on windows. Most API calls don't support large filenames, including
17 // most of the base library functions. Unfortunately, adding "\\?\" into 16 // most of the base library functions. Unfortunately, adding "\\?\" into
18 // the filename support is tricky. Instead, if WIN32_LARGE_FILENAME_SUPPORT 17 // the filename support is tricky. Instead, if WIN32_LARGE_FILENAME_SUPPORT
19 // is set, we use direct WIN32 APIs for manipulating the files. 18 // is set, we use direct WIN32 APIs for manipulating the files.
20 #define WIN32_LARGE_FILENAME_SUPPORT 19 #define WIN32_LARGE_FILENAME_SUPPORT
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 base::FilePath entry_path_; 80 base::FilePath entry_path_;
82 std::string entry_url_; 81 std::string entry_url_;
83 #ifdef WIN32_LARGE_FILENAME_SUPPORT 82 #ifdef WIN32_LARGE_FILENAME_SUPPORT
84 HANDLE entry_; 83 HANDLE entry_;
85 #else 84 #else
86 FILE* entry_; 85 FILE* entry_;
87 #endif 86 #endif
88 }; 87 };
89 88
90 #endif // NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_ 89 #endif // NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_
OLDNEW
« no previous file with comments | « net/test/spawned_test_server/local_test_server_win.cc ('k') | net/tools/dump_cache/cache_dumper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698