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