Add a few more methods for AutoUpdater.

This commit is contained in:
Cheng Zhao 2013-06-03 10:34:42 +08:00
parent 08dbdd9718
commit e4d2368908
2 changed files with 15 additions and 0 deletions

View file

@ -5,6 +5,8 @@
#ifndef ATOM_BROWSER_AUTO_UPDATER_H_
#define ATOM_BROWSER_AUTO_UPDATER_H_
#include <string>
#include "base/basictypes.h"
namespace auto_updater {
@ -19,8 +21,10 @@ class AutoUpdater {
static void Init();
static void SetFeedURL(const std::string& url);
static void SetAutomaticallyChecksForUpdates(bool yes);
static void SetAutomaticallyDownloadsUpdates(bool yes);
static void CheckForUpdates();
static void CheckForUpdatesInBackground();
private: