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

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

Issue 10038034: Implemented a "Last Updated" field for the about page of Chrome OS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moved #include out of #if defined(OS_CHROMEOS) Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/help/help.js ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/help/help_handler.h
diff --git a/chrome/browser/ui/webui/help/help_handler.h b/chrome/browser/ui/webui/help/help_handler.h
index 75341282380cc706621c5533182c167ccae9fc1b..b662f7ac2600b050e5b22c4b0c812b25f8ae043f 100644
--- a/chrome/browser/ui/webui/help/help_handler.h
+++ b/chrome/browser/ui/webui/help/help_handler.h
@@ -8,12 +8,14 @@
#include <string>
#include "base/compiler_specific.h"
+#include "base/memory/weak_ptr.h"
#include "chrome/browser/ui/webui/help/version_updater.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_ui_message_handler.h"
#if defined(OS_CHROMEOS)
+#include "base/platform_file.h"
#include "chrome/browser/chromeos/version_loader.h"
#endif // defined(OS_CHROMEOS)
@@ -72,11 +74,17 @@ class HelpHandler : public content::WebUIMessageHandler,
void OnOSFirmware(chromeos::VersionLoader::Handle handle,
std::string firmware);
void OnReleaseChannel(const std::string& channel);
+
+ void ProcessLsbFileInfo(
+ base::PlatformFileError rv, const base::PlatformFileInfo& file_info);
#endif
// Specialized instance of the VersionUpdater used to update the browser.
scoped_ptr<VersionUpdater> version_updater_;
+ // Used for callbacks.
+ base::WeakPtrFactory<HelpHandler> weak_factory_;
+
// Used to observe notifications.
content::NotificationRegistrar registrar_;
« no previous file with comments | « chrome/browser/resources/help/help.js ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698