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

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: Changed visibility property, changed WeakPtrFactory use 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
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..9e30f359799a140a582d4ee2532dcf9ba33c6b67 100644
--- a/chrome/browser/ui/webui/help/help_handler.h
+++ b/chrome/browser/ui/webui/help/help_handler.h
@@ -14,6 +14,8 @@
#include "content/public/browser/web_ui_message_handler.h"
#if defined(OS_CHROMEOS)
+#include "base/memory/weak_ptr.h"
+#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_;

Powered by Google App Engine
This is Rietveld 408576698