Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7196)

Unified Diff: chrome/browser/ui/webui/help/version_updater_unimplemented.h

Issue 9320056: Help: Implement the initial version of the cross-platform help/about page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: String fix. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/help/version_updater_unimplemented.h
diff --git a/chrome/browser/ui/webui/help/version_updater_unimplemented.h b/chrome/browser/ui/webui/help/version_updater_unimplemented.h
new file mode 100644
index 0000000000000000000000000000000000000000..8239207076e82e34213f56def35be0ac55c3b8f6
--- /dev/null
+++ b/chrome/browser/ui/webui/help/version_updater_unimplemented.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_UNIMPLEMENTED_H_
+#define CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_UNIMPLEMENTED_H_
+#pragma once
+
+#include "base/compiler_specific.h"
+#include "chrome/browser/ui/webui/help/version_updater.h"
+
+// Temporary empty implementation used by platforms that have not specialized
+// VersionUpdater.
+class VersionUpdaterUnimplemented : public VersionUpdater {
+ public:
+ // VersionUpdater implementation.
+ virtual void CheckForUpdate(const StatusCallback& callback) OVERRIDE {}
+ virtual void RelaunchBrowser() const OVERRIDE {}
+
+ protected:
+ friend class VersionUpdater;
+
+ // Clients must use VersionUpdater::Create().
+ VersionUpdaterUnimplemented() {}
+ virtual ~VersionUpdaterUnimplemented() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(VersionUpdaterUnimplemented);
+};
+
+#endif // CHROME_BROWSER_UI_WEBUI_HELP_VERSION_UPDATER_UNIMPLEMENTED_H_

Powered by Google App Engine
This is Rietveld 408576698