| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This file contains helper functions used by setup. | 5 // This file contains helper functions used by setup. |
| 6 | 6 |
| 7 #ifndef CHROME_INSTALLER_UTIL_HELPER_H__ | 7 #ifndef CHROME_INSTALLER_UTIL_HELPER_H_ |
| 8 #define CHROME_INSTALLER_UTIL_HELPER_H__ | 8 #define CHROME_INSTALLER_UTIL_HELPER_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 namespace installer { | 12 namespace installer { |
| 13 | 13 |
| 14 // This function returns the install path for Chrome depending on whether its | 14 // This function returns the install path for Chrome depending on whether its |
| 15 // system wide install or user specific install. | 15 // system wide install or user specific install. |
| 16 // system_install: if true, the function returns system wide location | 16 // system_install: if true, the function returns system wide location |
| 17 // (ProgramFiles\Google). Otherwise it returns user specific | 17 // (ProgramFiles\Google). Otherwise it returns user specific |
| 18 // location (Document And Settings\<user>\Local Settings...) | 18 // location (Document And Settings\<user>\Local Settings...) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 40 // on the system, its corresponding version directory will be left intact. | 40 // on the system, its corresponding version directory will be left intact. |
| 41 // (The version directory is subject for removal again during next update.) | 41 // (The version directory is subject for removal again during next update.) |
| 42 // | 42 // |
| 43 // chrome_path: the root path of Chrome installation. | 43 // chrome_path: the root path of Chrome installation. |
| 44 // latest_version_str: the latest version of Chrome installed. | 44 // latest_version_str: the latest version of Chrome installed. |
| 45 void RemoveOldVersionDirs(const std::wstring& chrome_path, | 45 void RemoveOldVersionDirs(const std::wstring& chrome_path, |
| 46 const std::wstring& latest_version_str); | 46 const std::wstring& latest_version_str); |
| 47 | 47 |
| 48 } // namespace installer | 48 } // namespace installer |
| 49 | 49 |
| 50 #endif | 50 #endif // CHROME_INSTALLER_UTIL_HELPER_H_ |
| OLD | NEW |