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

Side by Side Diff: chrome/browser/ui/webui/options/about_page_handler.h

Issue 6883142: Show ChromeOS bios firmware in about dialog. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_ABOUT_PAGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_ABOUT_PAGE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ABOUT_PAGE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ABOUT_PAGE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/ui/webui/options/options_ui.h" 10 #include "chrome/browser/ui/webui/options/options_ui.h"
(...skipping 24 matching lines...) Expand all
35 #if defined(OS_CHROMEOS) 35 #if defined(OS_CHROMEOS)
36 // Initiates update check. 36 // Initiates update check.
37 void CheckNow(const ListValue* args); 37 void CheckNow(const ListValue* args);
38 38
39 // Restarts the system. 39 // Restarts the system.
40 void RestartNow(const ListValue* args); 40 void RestartNow(const ListValue* args);
41 41
42 // Callback from chromeos::VersionLoader giving the version. 42 // Callback from chromeos::VersionLoader giving the version.
43 void OnOSVersion(chromeos::VersionLoader::Handle handle, 43 void OnOSVersion(chromeos::VersionLoader::Handle handle,
44 std::string version); 44 std::string version);
45 void OnOSFirmware(chromeos::VersionLoader::Handle handle,
46 std::string firmware);
45 void UpdateStatus(const chromeos::UpdateLibrary::Status& status); 47 void UpdateStatus(const chromeos::UpdateLibrary::Status& status);
46 48
47 // UpdateEngine Callback handler. 49 // UpdateEngine Callback handler.
48 static void UpdateSelectedChannel(void* user_data, const char* channel); 50 static void UpdateSelectedChannel(void* user_data, const char* channel);
49 51
50 // Handles asynchronously loading the version. 52 // Handles asynchronously loading the version.
51 chromeos::VersionLoader loader_; 53 chromeos::VersionLoader loader_;
52 54
53 // Used to request the version. 55 // Used to request the version.
54 CancelableRequestConsumer consumer_; 56 CancelableRequestConsumer consumer_;
55 57
56 // Update Observer 58 // Update Observer
57 class UpdateObserver; 59 class UpdateObserver;
58 scoped_ptr<UpdateObserver> update_observer_; 60 scoped_ptr<UpdateObserver> update_observer_;
59 61
60 int progress_; 62 int progress_;
61 bool sticky_; 63 bool sticky_;
62 bool started_; 64 bool started_;
63 #endif 65 #endif
64 66
65 DISALLOW_COPY_AND_ASSIGN(AboutPageHandler); 67 DISALLOW_COPY_AND_ASSIGN(AboutPageHandler);
66 }; 68 };
67 69
68 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ABOUT_PAGE_HANDLER_H_ 70 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ABOUT_PAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/about_page.js ('k') | chrome/browser/ui/webui/options/about_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698