summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/helper.h')
-rw-r--r--chrome/installer/util/helper.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/installer/util/helper.h b/chrome/installer/util/helper.h
index 975ec8a..132d718 100644
--- a/chrome/installer/util/helper.h
+++ b/chrome/installer/util/helper.h
@@ -9,8 +9,6 @@
#include <string>
-class FilePath;
-
namespace installer {
// This function returns the install path for Chrome depending on whether its
@@ -18,13 +16,13 @@ namespace installer {
// system_install: if true, the function returns system wide location
// (ProgramFiles\Google). Otherwise it returns user specific
// location (Document And Settings\<user>\Local Settings...)
-FilePath GetChromeInstallPath(bool system_install);
+std::wstring GetChromeInstallPath(bool system_install);
// This function returns the path to the directory that holds the user data,
// this is always inside "Document And Settings\<user>\Local Settings.". Note
// that this is the default user data directory and does not take into account
// that it can be overriden with a command line parameter.
-FilePath GetChromeUserDataPath();
+std::wstring GetChromeUserDataPath();
// Launches Chrome without waiting for its exit.
bool LaunchChrome(bool system_install);
@@ -44,7 +42,7 @@ bool LaunchChromeAndWaitForResult(bool system_install,
//
// chrome_path: the root path of Chrome installation.
// latest_version_str: the latest version of Chrome installed.
-void RemoveOldVersionDirs(const FilePath& chrome_path,
+void RemoveOldVersionDirs(const std::wstring& chrome_path,
const std::wstring& latest_version_str);
} // namespace installer