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

Unified Diff: chrome/browser/dom_ui/options/about_page_handler.h

Issue 6469067: WebUI: Move chrome/browser/dom_ui/options/ to chrome/browser/webui/options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing mac files Created 9 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/add_startup_page_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/options/about_page_handler.h
diff --git a/chrome/browser/dom_ui/options/about_page_handler.h b/chrome/browser/dom_ui/options/about_page_handler.h
index 60fefbc0443015e2f1103599eafb31c1a53cab7b..09b96ffe9cfa8d297000e6564a1324d835fb433f 100644
--- a/chrome/browser/dom_ui/options/about_page_handler.h
+++ b/chrome/browser/dom_ui/options/about_page_handler.h
@@ -1,65 +1,12 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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_DOM_UI_OPTIONS_ABOUT_PAGE_HANDLER_H_
#define CHROME_BROWSER_DOM_UI_OPTIONS_ABOUT_PAGE_HANDLER_H_
+#pragma once
-#include <string>
-
-#include "chrome/browser/dom_ui/options/options_ui.h"
-
-#if defined(OS_CHROMEOS)
-#include "chrome/browser/chromeos/cros/update_library.h"
-#include "chrome/browser/chromeos/version_loader.h"
-#endif
-
-// ChromeOS about page UI handler.
-class AboutPageHandler : public OptionsPageUIHandler {
- public:
- AboutPageHandler();
- virtual ~AboutPageHandler();
-
- // OptionsUIHandler implementation.
- virtual void GetLocalizedValues(DictionaryValue* localized_strings);
- virtual void RegisterMessages();
-
- private:
- // The function is called from JavaScript when the about page is ready.
- void PageReady(const ListValue* args);
-
- // The function is called from JavaScript to set the release track like
- // "beta-channel" and "dev-channel".
- void SetReleaseTrack(const ListValue* args);
-
-#if defined(OS_CHROMEOS)
- // Initiates update check.
- void CheckNow(const ListValue* args);
-
- // Restarts the system.
- void RestartNow(const ListValue* args);
-
- // Callback from chromeos::VersionLoader giving the version.
- void OnOSVersion(chromeos::VersionLoader::Handle handle,
- std::string version);
- void UpdateStatus(const chromeos::UpdateLibrary::Status& status);
-
- // Handles asynchronously loading the version.
- chromeos::VersionLoader loader_;
-
- // Used to request the version.
- CancelableRequestConsumer consumer_;
-
- // Update Observer
- class UpdateObserver;
- scoped_ptr<UpdateObserver> update_observer_;
-
- int progress_;
- bool sticky_;
- bool started_;
-#endif
-
- DISALLOW_COPY_AND_ASSIGN(AboutPageHandler);
-};
+#include "chrome/browser/webui/options/about_page_handler.h"
+// TODO(tfarina): remove this file once all includes have been updated.
#endif // CHROME_BROWSER_DOM_UI_OPTIONS_ABOUT_PAGE_HANDLER_H_
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/add_startup_page_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698