2014-10-31 18:17:05 +00:00
|
|
|
// Copyright (c) 2013 GitHub, Inc.
|
2014-04-25 09:49:37 +00:00
|
|
|
// Use of this source code is governed by the MIT license that can be
|
2013-06-02 12:23:04 +00:00
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2019-06-19 20:46:59 +00:00
|
|
|
#include "shell/browser/auto_updater.h"
|
2013-06-02 12:23:04 +00:00
|
|
|
|
|
|
|
namespace auto_updater {
|
|
|
|
|
2015-10-23 07:40:56 +00:00
|
|
|
Delegate* AutoUpdater::delegate_ = nullptr;
|
2013-06-02 12:23:04 +00:00
|
|
|
|
2015-10-23 07:40:56 +00:00
|
|
|
Delegate* AutoUpdater::GetDelegate() {
|
2013-06-02 12:23:04 +00:00
|
|
|
return delegate_;
|
|
|
|
}
|
|
|
|
|
2015-10-23 07:40:56 +00:00
|
|
|
void AutoUpdater::SetDelegate(Delegate* delegate) {
|
2013-06-02 12:23:04 +00:00
|
|
|
delegate_ = delegate;
|
|
|
|
}
|
|
|
|
|
2015-10-23 07:40:56 +00:00
|
|
|
#if !defined(OS_MACOSX) || defined(MAS_BUILD)
|
2016-07-14 12:04:48 +00:00
|
|
|
std::string AutoUpdater::GetFeedURL() {
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
|
2019-10-18 00:31:29 +00:00
|
|
|
void AutoUpdater::SetFeedURL(gin_helper::Arguments* args) {}
|
2015-09-28 07:02:36 +00:00
|
|
|
|
2018-04-18 01:55:30 +00:00
|
|
|
void AutoUpdater::CheckForUpdates() {}
|
2015-10-23 07:40:56 +00:00
|
|
|
|
2018-04-18 01:55:30 +00:00
|
|
|
void AutoUpdater::QuitAndInstall() {}
|
2015-09-28 07:02:36 +00:00
|
|
|
#endif
|
|
|
|
|
2013-06-02 12:23:04 +00:00
|
|
|
} // namespace auto_updater
|