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;
|
|
|
|
}
|
|
|
|
|
2022-11-14 20:46:52 +00:00
|
|
|
#if !BUILDFLAG(IS_MAC) || IS_MAS_BUILD()
|
2016-07-14 12:04:48 +00:00
|
|
|
std::string AutoUpdater::GetFeedURL() {
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
|
2020-07-28 18:04:34 +00:00
|
|
|
void AutoUpdater::SetFeedURL(gin::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() {}
|
2023-09-11 18:54:51 +00:00
|
|
|
|
|
|
|
bool AutoUpdater::IsVersionAllowedForUpdate(const std::string& current_version,
|
|
|
|
const std::string& target_version) {
|
|
|
|
return false;
|
|
|
|
}
|
2015-09-28 07:02:36 +00:00
|
|
|
#endif
|
|
|
|
|
2013-06-02 12:23:04 +00:00
|
|
|
} // namespace auto_updater
|