| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ | 5 #ifndef CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ |
| 6 #define CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ | 6 #define CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 bool system_level, | 72 bool system_level, |
| 73 BrowserDistribution::Type product); | 73 BrowserDistribution::Type product); |
| 74 | 74 |
| 75 bool ValidateInstall( | 75 bool ValidateInstall( |
| 76 bool system_level, | 76 bool system_level, |
| 77 installer::InstallationValidator::InstallationType expected, | 77 installer::InstallationValidator::InstallationType expected, |
| 78 const std::string& version); | 78 const std::string& version); |
| 79 | 79 |
| 80 // Run and wait for command to finish. | 80 // Run and wait for command to finish. |
| 81 // Returns true if successful, otherwise false. | 81 // Returns true if successful, otherwise false. |
| 82 bool RunAndWaitForCommandToFinish(CommandLine command); | 82 bool RunAndWaitForCommandToFinish(base::CommandLine command); |
| 83 | 83 |
| 84 } // namespace | 84 } // namespace |
| 85 | 85 |
| 86 #endif // CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ | 86 #endif // CHROME_TEST_MINI_INSTALLER_TEST_INSTALLER_TEST_UTIL_H_ |
| 87 | 87 |
| OLD | NEW |