summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 20:22:37 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 20:22:37 +0000
commitebcb20c7ead50898319724aa42efb0e31acf1877 (patch)
treefc1b9f066fc9ac3aa2faa32ae56e765f9133423a /net/tools
parent55a75d99c6609ed4f6dc7052fcf3d907efaf7137 (diff)
downloadchromium_src-ebcb20c7ead50898319724aa42efb0e31acf1877.zip
chromium_src-ebcb20c7ead50898319724aa42efb0e31acf1877.tar.gz
chromium_src-ebcb20c7ead50898319724aa42efb0e31acf1877.tar.bz2
Convert BlockFiles to use FilePath instead of wstring.
BUG=24444 Review URL: http://codereview.chromium.org/274012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/dump_cache/dump_files.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/tools/dump_cache/dump_files.cc b/net/tools/dump_cache/dump_files.cc
index 2fcf7a4..45b647c 100644
--- a/net/tools/dump_cache/dump_files.cc
+++ b/net/tools/dump_cache/dump_files.cc
@@ -106,7 +106,9 @@ void DumpBlockHeader(const std::wstring& name) {
class CacheDumper {
public:
explicit CacheDumper(const std::wstring& path)
- : path_(path), block_files_(path), index_(NULL) {}
+ : path_(path),
+ block_files_(FilePath::FromWStringHack(path)),
+ index_(NULL) {}
bool Init();