From: Cheng Zhao Date: Thu, 4 Jul 2013 07:37:45 +0000 (+0800) Subject: Add empty auto updater implementation for Windows. X-Git-Tag: v0.1.0~33 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5f3b71e589937dfed5ba0d5ce0134dcbeefbe408;p=electron.git Add empty auto updater implementation for Windows. --- diff --git a/atom.gyp b/atom.gyp index 9fbf8bf1..9109dc14 100644 --- a/atom.gyp +++ b/atom.gyp @@ -62,6 +62,7 @@ 'browser/auto_updater_delegate.cc', 'browser/auto_updater_delegate.h', 'browser/auto_updater_mac.mm', + 'browser/auto_updater_win.cc', 'browser/atom_application_mac.h', 'browser/atom_application_mac.mm', 'browser/atom_application_delegate_mac.h', diff --git a/browser/auto_updater_win.cc b/browser/auto_updater_win.cc new file mode 100644 index 00000000..845eb45b --- /dev/null +++ b/browser/auto_updater_win.cc @@ -0,0 +1,33 @@ +// Copyright (c) 2013 GitHub, Inc. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "browser/auto_updater.h" + +namespace auto_updater { + +// static +void AutoUpdater::Init() { +} + +// static +void AutoUpdater::SetFeedURL(const std::string& url) { +} + +// static +void AutoUpdater::SetAutomaticallyChecksForUpdates(bool yes) { +} + +// static +void AutoUpdater::SetAutomaticallyDownloadsUpdates(bool yes) { +} + +// static +void AutoUpdater::CheckForUpdates() { +} + +// static +void AutoUpdater::CheckForUpdatesInBackground() { +} + +} // namespace auto_updater