auto_updater.cc 727 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright (c) 2013 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #include "atom/browser/auto_updater.h"
  5. namespace auto_updater {
  6. Delegate* AutoUpdater::delegate_ = nullptr;
  7. Delegate* AutoUpdater::GetDelegate() {
  8. return delegate_;
  9. }
  10. void AutoUpdater::SetDelegate(Delegate* delegate) {
  11. delegate_ = delegate;
  12. }
  13. #if !defined(OS_MACOSX) || defined(MAS_BUILD)
  14. std::string AutoUpdater::GetFeedURL() {
  15. return "";
  16. }
  17. void AutoUpdater::SetFeedURL(const std::string& url,
  18. const HeaderMap& requestHeaders) {
  19. }
  20. void AutoUpdater::CheckForUpdates() {
  21. }
  22. void AutoUpdater::QuitAndInstall() {
  23. }
  24. #endif
  25. } // namespace auto_updater