Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_ | |
| 6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_ | |
| 7 | |
| 8 namespace google_update { | |
| 9 | |
| 10 // If user-level Google Update is not installed, calls the system-level | |
| 11 // GoogleUpdateSetup.exe to install it (and waits for it to finish). | |
| 12 // Returns true if already installed or installed successfully, and false if the | |
| 13 // installation fails or times-out. | |
| 14 bool EnsureUserLevelGoogleUpdateInstalled(); | |
| 15 | |
| 16 // Tell Google Update that an uninstall has taken place. This gives it a chance | |
| 17 // to uninstall itself straight away if no more products are installed on the | |
| 18 // system rather than waiting for the next time the scheduled task runs. | |
| 19 // Return true if and only if this executes successfully. | |
|
grt (UTC plus 2)
2012/09/21 14:20:33
"Returns false if Google Update could not be execu
huangs
2012/09/21 18:48:43
Done.
| |
| 20 bool UninstallGoogleUpdate(bool system_install); | |
| 21 | |
| 22 } // namespace google_update | |
| 23 | |
| 24 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_ | |
| OLD | NEW |