Add 'ready-for-update-on-quit' event for auto-updater.
This commit is contained in:
parent
f435ed8667
commit
a1dc4b88be
6 changed files with 51 additions and 3 deletions
|
@ -13,9 +13,14 @@ namespace auto_updater {
|
|||
|
||||
class AutoUpdaterDelegate {
|
||||
public:
|
||||
// The application is going to relaunch to install update.
|
||||
virtual void WillInstallUpdate(const std::string& version,
|
||||
const base::Closure& install);
|
||||
|
||||
// User has chosen to update on quit.
|
||||
virtual void ReadyForUpdateOnQuit(const std::string& version,
|
||||
const base::Closure& quit_and_install);
|
||||
|
||||
protected:
|
||||
virtual ~AutoUpdaterDelegate() {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue