diff options
Diffstat (limited to 'chrome/installer/util/work_item.h')
-rw-r--r-- | chrome/installer/util/work_item.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/installer/util/work_item.h b/chrome/installer/util/work_item.h index 9a61363..45b72ae 100644 --- a/chrome/installer/util/work_item.h +++ b/chrome/installer/util/work_item.h @@ -46,11 +46,11 @@ class WorkItem { // * If overwrite_option is NEW_NAME_IF_IN_USE, file is copied with an // alternate name specified by alternative_path. static CopyTreeWorkItem* CreateCopyTreeWorkItem( - const std::wstring& source_path, - const std::wstring& dest_path, - const std::wstring& temp_dir, + const FilePath& source_path, + const FilePath& dest_path, + const FilePath& temp_dir, CopyOverWriteOption overwrite_option, - const std::wstring& alternative_path = L""); + const FilePath& alternative_path = FilePath()); // Create a CreateDirWorkItem that creates a directory at the given path. static CreateDirWorkItem* CreateCreateDirWorkItem(const FilePath& path); @@ -71,14 +71,14 @@ class WorkItem { // hierarchy at the given root path. A key file can be optionally specified // by key_path. static DeleteTreeWorkItem* CreateDeleteTreeWorkItem( - const std::wstring& root_path, const std::wstring& key_path); + const FilePath& root_path, const FilePath& key_path); // Create a MoveTreeWorkItem that recursively moves a file system hierarchy // from source path to destination path. static MoveTreeWorkItem* CreateMoveTreeWorkItem( - const std::wstring& source_path, - const std::wstring& dest_path, - const std::wstring& temp_dir); + const FilePath& source_path, + const FilePath& dest_path, + const FilePath& temp_dir); // Create a SetRegValueWorkItem that sets a registry value with REG_SZ type // at the key with specified path. |