| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HELP_HELP_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 scoped_ptr<VersionUpdater> version_updater_; | 87 scoped_ptr<VersionUpdater> version_updater_; |
| 88 | 88 |
| 89 // Used to observe notifications. | 89 // Used to observe notifications. |
| 90 content::NotificationRegistrar registrar_; | 90 content::NotificationRegistrar registrar_; |
| 91 | 91 |
| 92 #if defined(OS_CHROMEOS) | 92 #if defined(OS_CHROMEOS) |
| 93 // Handles asynchronously loading the CrOS version info. | 93 // Handles asynchronously loading the CrOS version info. |
| 94 chromeos::VersionLoader loader_; | 94 chromeos::VersionLoader loader_; |
| 95 | 95 |
| 96 // Used to request the version. | 96 // Used to request the version. |
| 97 CancelableTaskTracker tracker_; | 97 base::CancelableTaskTracker tracker_; |
| 98 #endif // defined(OS_CHROMEOS) | 98 #endif // defined(OS_CHROMEOS) |
| 99 | 99 |
| 100 // Used for callbacks. | 100 // Used for callbacks. |
| 101 base::WeakPtrFactory<HelpHandler> weak_factory_; | 101 base::WeakPtrFactory<HelpHandler> weak_factory_; |
| 102 | 102 |
| 103 DISALLOW_COPY_AND_ASSIGN(HelpHandler); | 103 DISALLOW_COPY_AND_ASSIGN(HelpHandler); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ | 106 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ |
| OLD | NEW |