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_BROWSER_EXTENSIONS_APP_HOST_APP_HOST_UPGRADE_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_APP_HOST_APP_HOST_UPGRADE_H_ | |
| 7 | |
| 8 class Version; | |
| 9 | |
| 10 namespace app_host { | |
| 11 | |
| 12 extern const wchar_t kMultiInstallAppGuid[]; | |
| 13 extern const wchar_t kChromeAppHostAppGuid[]; | |
| 14 | |
| 15 // Fetches the app version ("pv" entry) of a Google product, given the | |
| 16 // app GUID ("{###...###}") and the installation level. | |
| 17 // Returns: true if successful. | |
|
erikwright (departed)
2012/09/13 13:48:26
Remove the ':'. "Returns true if successful."
Als
huangs
2012/09/13 18:46:00
Done (2 instances).
| |
| 18 bool GetAppVersionForInstallationLevel(const wchar_t* app_guid, | |
|
grt (UTC plus 2)
2012/09/13 13:14:43
Version has value semantics (see the log message f
grt (UTC plus 2)
2012/09/13 13:14:43
please remove "ForInstallationLevel". it's superfl
huangs
2012/09/13 18:46:00
Done (for Version).
huangs
2012/09/13 18:46:00
Done for "ForInstallationLevel", but only limited
| |
| 19 bool system_level, | |
| 20 Version* version); | |
| 21 | |
| 22 // Calls setup.exe to reinstall App Host, using setup.exe for the | |
|
grt (UTC plus 2)
2012/09/13 13:14:43
"reinstall" -> "update"
huangs
2012/09/13 18:46:00
Done.
| |
| 23 // specified installation level. | |
| 24 // Returns: true if successful. | |
| 25 bool UpgradeAppHost(bool system_level); | |
| 26 | |
| 27 } // namespace app_host | |
| 28 | |
| 29 #endif // CHROME_BROWSER_EXTENSIONS_APP_HOST_APP_HOST_UPGRADE_H_ | |
| OLD | NEW |