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_; |