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

Unified Diff: chrome/browser/ui/webui/about_page/about_page_handler.h

Issue 9147054: Revert 117136 - separate about page into its own page (included in chrome://chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/browser/resources/uber/uber.html ('k') | chrome/browser/ui/webui/about_page/about_page_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/about_page/about_page_handler.h
===================================================================
--- chrome/browser/ui/webui/about_page/about_page_handler.h (revision 117138)
+++ chrome/browser/ui/webui/about_page/about_page_handler.h (working copy)
@@ -1,67 +0,0 @@
-// 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_ABOUT_PAGE_ABOUT_PAGE_HANDLER_H_
-#define CHROME_BROWSER_UI_WEBUI_ABOUT_PAGE_ABOUT_PAGE_HANDLER_H_
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/chromeos/dbus/update_engine_client.h"
-#include "chrome/browser/chromeos/version_loader.h"
-#include "content/public/browser/web_ui_message_handler.h"
-
-// ChromeOS about page UI handler.
-class AboutPageHandler : public content::WebUIMessageHandler {
- public:
- AboutPageHandler();
- virtual ~AboutPageHandler();
-
- void GetLocalizedValues(base::DictionaryValue* localized_strings) OVERRIDE;
- void RegisterMessages() OVERRIDE;
-
- private:
- class UpdateObserver;
-
- // The function is called from JavaScript when the about page is ready.
- void PageReady(const base::ListValue* args);
-
- // The function is called from JavaScript to set the release track like
- // "beta-channel" and "dev-channel".
- void SetReleaseTrack(const base::ListValue* args);
-
- // Initiates update check.
- void CheckNow(const base::ListValue* args);
-
- // Restarts the system.
- void RestartNow(const base::ListValue* args);
-
- // Callback from VersionLoader giving the version.
- void OnOSVersion(chromeos::VersionLoader::Handle handle,
- std::string version);
- void OnOSFirmware(chromeos::VersionLoader::Handle handle,
- std::string firmware);
- void UpdateStatus(const chromeos::UpdateEngineClient::Status& status);
-
- // UpdateEngine Callback handler.
- static void UpdateSelectedChannel(UpdateObserver* observer,
- const std::string& channel);
-
- // Handles asynchronously loading the version.
- chromeos::VersionLoader loader_;
-
- // Used to request the version.
- CancelableRequestConsumer consumer_;
-
- // Update Observer
- scoped_ptr<UpdateObserver> update_observer_;
-
- int progress_;
- bool sticky_;
- bool started_;
-
- DISALLOW_COPY_AND_ASSIGN(AboutPageHandler);
-};
-
-#endif // CHROME_BROWSER_UI_WEBUI_ABOUT_PAGE_ABOUT_PAGE_HANDLER_H_
« no previous file with comments | « chrome/browser/resources/uber/uber.html ('k') | chrome/browser/ui/webui/about_page/about_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698