diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-04 17:11:37 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-04 17:11:37 +0000 |
commit | a0a03624a6a1c79c4f7b8f0ce899b58e01105553 (patch) | |
tree | b0c34b4048ebfa3881b39c11524139a18c77d2c4 /chrome/installer/util/work_item.h | |
parent | 4a42535ddb0b508e5ce2b546a57a651c305f9aff (diff) | |
download | chromium_src-a0a03624a6a1c79c4f7b8f0ce899b58e01105553.zip chromium_src-a0a03624a6a1c79c4f7b8f0ce899b58e01105553.tar.gz chromium_src-a0a03624a6a1c79c4f7b8f0ce899b58e01105553.tar.bz2 |
Fix to use FilePath::DirName instead of FileUtil::UpOneDirectoryOrEmpty.
BUG=None
TEST=run installer_util_unittests.exe
Review URL: http://codereview.chromium.org/173042
Patch from Thiago Farina <thiago.farina@gmail.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/work_item.h')
-rw-r--r-- | chrome/installer/util/work_item.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/installer/util/work_item.h b/chrome/installer/util/work_item.h index 08d0c05..9a61363 100644 --- a/chrome/installer/util/work_item.h +++ b/chrome/installer/util/work_item.h @@ -12,6 +12,8 @@ #include <windows.h> #include <string> +#include "base/file_path.h" + class CopyTreeWorkItem; class CreateDirWorkItem; class CreateRegKeyWorkItem; @@ -51,7 +53,7 @@ class WorkItem { const std::wstring& alternative_path = L""); // Create a CreateDirWorkItem that creates a directory at the given path. - static CreateDirWorkItem* CreateCreateDirWorkItem(const std::wstring& path); + static CreateDirWorkItem* CreateCreateDirWorkItem(const FilePath& path); // Create a CreateRegKeyWorkItem that creates a registry key at the given // path. |