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

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

Issue 121643003: Reorganize net/disk_cache into backend specific directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios breakage Created 6 years, 10 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/crash_cache/crash_cache.cc ('k') | net/tools/dump_cache/cache_dumper.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) 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/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "net/disk_cache/backend_impl.h" 11 #include "net/disk_cache/blockfile/backend_impl.h"
12 12
13 #ifdef WIN32 13 #ifdef WIN32
14 // Dumping the cache often creates very large filenames, which are tricky 14 // Dumping the cache often creates very large filenames, which are tricky
15 // on windows. Most API calls don't support large filenames, including 15 // on windows. Most API calls don't support large filenames, including
16 // most of the base library functions. Unfortunately, adding "\\?\" into 16 // most of the base library functions. Unfortunately, adding "\\?\" into
17 // the filename support is tricky. Instead, if WIN32_LARGE_FILENAME_SUPPORT 17 // the filename support is tricky. Instead, if WIN32_LARGE_FILENAME_SUPPORT
18 // is set, we use direct WIN32 APIs for manipulating the files. 18 // is set, we use direct WIN32 APIs for manipulating the files.
19 #define WIN32_LARGE_FILENAME_SUPPORT 19 #define WIN32_LARGE_FILENAME_SUPPORT
20 #endif 20 #endif
21 21
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 base::FilePath entry_path_; 80 base::FilePath entry_path_;
81 std::string entry_url_; 81 std::string entry_url_;
82 #ifdef WIN32_LARGE_FILENAME_SUPPORT 82 #ifdef WIN32_LARGE_FILENAME_SUPPORT
83 HANDLE entry_; 83 HANDLE entry_;
84 #else 84 #else
85 FILE* entry_; 85 FILE* entry_;
86 #endif 86 #endif
87 }; 87 };
88 88
89 #endif // NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_ 89 #endif // NET_TOOLS_DUMP_CACHE_CACHE_DUMPER_H_
OLDNEW
« no previous file with comments | « net/tools/crash_cache/crash_cache.cc ('k') | net/tools/dump_cache/cache_dumper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698