summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-09 03:08:50 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-09 03:08:50 +0000
commit309b764b38f67d23f8b12488e6d1f542ca19b13e (patch)
treeb019a2748608482494160615527d50397f3514e5 /chrome/installer/util
parent784cee8f1792d709d0063ab683860492e9e4332e (diff)
downloadchromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.zip
chromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.tar.gz
chromium_src-309b764b38f67d23f8b12488e6d1f542ca19b13e.tar.bz2
Minor cleanup; remove deprecate file_util function and some obsolete TODOs.
Review URL: http://codereview.chromium.org/467030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34133 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util')
-rw-r--r--chrome/installer/util/lzma_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/lzma_util.cc b/chrome/installer/util/lzma_util.cc
index de5f824..3c232c7 100644
--- a/chrome/installer/util/lzma_util.cc
+++ b/chrome/installer/util/lzma_util.cc
@@ -172,13 +172,13 @@ DWORD LzmaUtil::UnPack(const std::wstring& location,
// If archive entry is directory create it and move on to the next entry.
if (f->IsDirectory) {
- file_util::CreateDirectory(wfileName);
+ file_util::CreateDirectory(FilePath(wfileName));
continue;
}
HANDLE hFile;
std::wstring directory = file_util::GetDirectoryFromPath(wfileName);
- file_util::CreateDirectory(directory);
+ file_util::CreateDirectory(FilePath(directory));
hFile = CreateFile(wfileName.c_str(), GENERIC_WRITE, 0, NULL,
CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);