OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // This file exposes the public interface to the mini_installer re-versioner. |
| 6 |
| 7 #ifndef CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_ |
| 8 #define CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_ |
| 9 #pragma once |
| 10 |
| 11 #include <string> |
| 12 |
| 13 class FilePath; |
| 14 |
| 15 namespace upgrade_test { |
| 16 |
| 17 // Generates an alternate mini_installer.exe using the one indicated by |
| 18 // |original_installer_path|, giving the new one a higher version than the |
| 19 // original and placing it in |target_path|. Any previous file at |target_path| |
| 20 // is clobbered. Returns true on success. |
| 21 bool GenerateNextVersion(const FilePath& original_installer_path, |
| 22 const FilePath& target_path); |
| 23 |
| 24 } // namespace upgrade_test |
| 25 |
| 26 #endif // CHROME_INSTALLER_TEST_ALTERNATE_VERSION_GENERATOR_H_ |
OLD | NEW |