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

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 file operations to file thread, cached result, fixed style issues 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..8c691eceb8b6bb1248bc0e0285675fa2070ce4bd 100644
--- a/chrome/browser/ui/webui/help/help_handler.h
+++ b/chrome/browser/ui/webui/help/help_handler.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/compiler_specific.h"
+#include "base/platform_file.h"
#include "chrome/browser/ui/webui/help/version_updater.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -72,11 +73,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