electron/shell/browser/auto_updater.cc

37 lines
836 B
C++
Raw Normal View History

// 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
// found in the LICENSE file.
#include "shell/browser/auto_updater.h"
namespace auto_updater {
Delegate* AutoUpdater::delegate_ = nullptr;
Delegate* AutoUpdater::GetDelegate() {
return delegate_;
}
void AutoUpdater::SetDelegate(Delegate* delegate) {
delegate_ = delegate;
}
#if !BUILDFLAG(IS_MAC) || IS_MAS_BUILD()
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() {}
2018-04-18 01:55:30 +00:00
void AutoUpdater::QuitAndInstall() {}
bool AutoUpdater::IsVersionAllowedForUpdate(const std::string& current_version,
const std::string& target_version) {
return false;
}
2015-09-28 07:02:36 +00:00
#endif
} // namespace auto_updater