1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_BASIC_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_BASIC_H_
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/webui/help/version_updater.h"
11 // Bare bones implementation just checks if a new version is ready.
12 class VersionUpdaterBasic
: public VersionUpdater
{
14 // VersionUpdater implementation.
15 virtual void CheckForUpdate(const StatusCallback
& callback
) OVERRIDE
;
16 virtual void RelaunchBrowser() const OVERRIDE
;
19 friend class VersionUpdater
;
21 // Clients must use VersionUpdater::Create().
22 VersionUpdaterBasic() {}
23 virtual ~VersionUpdaterBasic() {}
26 DISALLOW_COPY_AND_ASSIGN(VersionUpdaterBasic
);
29 #endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_BASIC_H_