From: Cheng Zhao Date: Thu, 2 Jan 2014 14:15:02 +0000 (+0000) Subject: linux: Add empty implementation of auto updater. X-Git-Tag: v0.10.0~6^2~36 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=52b5f769f0983d137b5c62290fce927ee85c0563;p=electron.git linux: Add empty implementation of auto updater. --- diff --git a/atom.gyp b/atom.gyp index 5d379fe0..35137fc8 100644 --- a/atom.gyp +++ b/atom.gyp @@ -66,6 +66,7 @@ 'browser/auto_updater.h', 'browser/auto_updater_delegate.cc', 'browser/auto_updater_delegate.h', + 'browser/auto_updater_linux.cc', 'browser/auto_updater_mac.mm', 'browser/auto_updater_win.cc', 'browser/atom_application_mac.h', diff --git a/browser/auto_updater_linux.cc b/browser/auto_updater_linux.cc new file mode 100644 index 00000000..845eb45b --- /dev/null +++ b/browser/auto_updater_linux.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