summaryrefslogtreecommitdiffstats
path: root/chrome/installer/test/alternate_version_generator.h
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 02:25:11 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 02:25:11 +0000
commit87ba2e6056bfe771ddc6ce540cf3d4e413d4e6f4 (patch)
treefabaa7bfcd986c6ea6481d571e7ccad4afc74ced /chrome/installer/test/alternate_version_generator.h
parent35c96084eb0abf809bb86c9c95c74ac4e6284fe5 (diff)
downloadchromium_src-87ba2e6056bfe771ddc6ce540cf3d4e413d4e6f4.zip
chromium_src-87ba2e6056bfe771ddc6ce540cf3d4e413d4e6f4.tar.gz
chromium_src-87ba2e6056bfe771ddc6ce540cf3d4e413d4e6f4.tar.bz2
Add an integration test for Chrome Frame's DllRedirector class.
Fix a bug in the DllRedirector module loading code. Expand the alternate version generator code to provide a function for generating new versions of single modules. Remove the LI SACL from the shared memory lock for Win XP. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6600001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/test/alternate_version_generator.h')
-rw-r--r--chrome/installer/test/alternate_version_generator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/installer/test/alternate_version_generator.h b/chrome/installer/test/alternate_version_generator.h
index cce83b0..43ef9f4 100644
--- a/chrome/installer/test/alternate_version_generator.h
+++ b/chrome/installer/test/alternate_version_generator.h
@@ -31,6 +31,13 @@ bool GenerateAlternateVersion(const FilePath& original_installer_path,
std::wstring* original_version,
std::wstring* new_version);
+// Given a path to a PEImage in |original_file|, copy that file to
+// |target_file|, modifying the version of the copy according to |direction|.
+// Any previous file at |target_file| is clobbered. Returns true on success.
+bool GenerateAlternatePEFileVersion(const FilePath& original_file,
+ const FilePath& target_file,
+ Direction direction);
+
} // namespace upgrade_test
#endif // CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_