diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 21:56:10 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 21:56:10 +0000 |
commit | cda30008a7a30deb7292d61e2a4f176b0c328dc2 (patch) | |
tree | 1b4fab63d6c668495ba9cff86f2972b142db634e /net | |
parent | 6609c50dc23378b632157d806f83b528568fa256 (diff) | |
download | chromium_src-cda30008a7a30deb7292d61e2a4f176b0c328dc2.zip chromium_src-cda30008a7a30deb7292d61e2a4f176b0c328dc2.tar.gz chromium_src-cda30008a7a30deb7292d61e2a4f176b0c328dc2.tar.bz2 |
Fix compile error in dump_files (didn't catch the error since dump_cache isn't in chrome.sln).
TBR=rvargas
Review URL: http://codereview.chromium.org/18782
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8666 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/tools/dump_cache/dump_files.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tools/dump_cache/dump_files.cc b/net/tools/dump_cache/dump_files.cc index 85a4f24..1d8555a 100644 --- a/net/tools/dump_cache/dump_files.cc +++ b/net/tools/dump_cache/dump_files.cc @@ -25,7 +25,8 @@ const wchar_t kDataPrefix[] = L"data_"; // Reads the |header_size| bytes from the beginning of file |name|. bool ReadHeader(const std::wstring name, char* header, int header_size) { net::FileStream file; - file.Open(name, base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ); + file.Open(FilePath::FromWStringHack(name), + base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ); if (!file.IsOpen()) { printf("Unable to open file %ls\n", name.c_str()); return false; |