Chromium Code Reviews| Index: chrome/browser/extensions/app_host/app_host_upgrade.h |
| diff --git a/chrome/browser/extensions/app_host/app_host_upgrade.h b/chrome/browser/extensions/app_host/app_host_upgrade.h |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..3b9ce8a98e4b89ac61dd9970d7f2c9225584f2ba |
| --- /dev/null |
| +++ b/chrome/browser/extensions/app_host/app_host_upgrade.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_EXTENSIONS_APP_HOST_APP_HOST_UPGRADE_H_ |
| +#define CHROME_BROWSER_EXTENSIONS_APP_HOST_APP_HOST_UPGRADE_H_ |
| + |
| +class Version; |
| + |
| +namespace app_host { |
| + |
| +extern const wchar_t kMultiInstallAppGuid[]; |
| +extern const wchar_t kChromeAppHostAppGuid[]; |
| + |
| +// Fetches the app version ("pv" entry) of a Google product, given the |
| +// app GUID ("{###...###}") and the installation level. |
| +// 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).
|
| +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
|
| + bool system_level, |
| + Version* version); |
| + |
| +// 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.
|
| +// specified installation level. |
| +// Returns: true if successful. |
| +bool UpgradeAppHost(bool system_level); |
| + |
| +} // namespace app_host |
| + |
| +#endif // CHROME_BROWSER_EXTENSIONS_APP_HOST_APP_HOST_UPGRADE_H_ |