summaryrefslogtreecommitdiffstats
path: root/chrome/installer/test/alternate_version_generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/test/alternate_version_generator.h')
-rw-r--r--chrome/installer/test/alternate_version_generator.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/chrome/installer/test/alternate_version_generator.h b/chrome/installer/test/alternate_version_generator.h
index 0ae0d5c..fe60a6a 100644
--- a/chrome/installer/test/alternate_version_generator.h
+++ b/chrome/installer/test/alternate_version_generator.h
@@ -9,9 +9,12 @@
#include <string>
-class FilePath;
class Version;
+namespace base {
+class FilePath;
+}
+
namespace upgrade_test {
enum Direction {
@@ -25,8 +28,8 @@ enum Direction {
// |target_path| is clobbered. Returns true on success. |original_version| and
// |new_version|, when non-NULL, are given the original and new version numbers
// on success.
-bool GenerateAlternateVersion(const FilePath& original_installer_path,
- const FilePath& target_path,
+bool GenerateAlternateVersion(const base::FilePath& original_installer_path,
+ const base::FilePath& target_path,
Direction direction,
std::wstring* original_version,
std::wstring* new_version);
@@ -35,16 +38,16 @@ bool GenerateAlternateVersion(const FilePath& original_installer_path,
// |target_file|, modifying the version of the copy according to |direction|.
// Any previous file at |target_file| is clobbered. Returns true on success.
// Note that |target_file| may still be mutated on failure.
-bool GenerateAlternatePEFileVersion(const FilePath& original_file,
- const FilePath& target_file,
+bool GenerateAlternatePEFileVersion(const base::FilePath& original_file,
+ const base::FilePath& target_file,
Direction direction);
// Given a path to a PEImage in |original_file|, copy that file to
// |target_file|, modifying the version of the copy according to |version|.
// Any previous file at |target_file| is clobbered. Returns true on success.
// Note that |target_file| may still be mutated on failure.
-bool GenerateSpecificPEFileVersion(const FilePath& original_file,
- const FilePath& target_file,
+bool GenerateSpecificPEFileVersion(const base::FilePath& original_file,
+ const base::FilePath& target_file,
const Version& version);
} // namespace upgrade_test