]> khamidou — GitHub mirrors - electron.git/commitdiff
linux: Add empty implementation of auto updater.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 2 Jan 2014 14:15:02 +0000 (14:15 +0000)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 2 Jan 2014 14:15:02 +0000 (14:15 +0000)
atom.gyp
browser/auto_updater_linux.cc [new file with mode: 0644]

index 5d379fe04dc64b8b775e21676291786780400a8b..35137fc8d9a6be856ece4e7775ade1bcb6ea4c80 100644 (file)
--- 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 (file)
index 0000000..845eb45
--- /dev/null
@@ -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