Chromium Code Reviews| 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 812f40b1990a879b8364d81b9bff1c77052d3258..72d8fefecc47ab986dfefd0e1bd47e7e3120dc74 100644 |
| --- a/chrome/browser/ui/webui/help/help_handler.h |
| +++ b/chrome/browser/ui/webui/help/help_handler.h |
| @@ -18,10 +18,6 @@ |
| #include "chrome/browser/chromeos/version_loader.h" |
| #endif // defined(OS_CHROMEOS) |
| -namespace content { |
| -class WebUIDataSource; |
| -} |
| - |
| // WebUI message handler for the help page. |
| class HelpHandler : public content::WebUIMessageHandler, |
| public content::NotificationObserver { |
| @@ -32,8 +28,8 @@ class HelpHandler : public content::WebUIMessageHandler, |
| // WebUIMessageHandler implementation. |
| virtual void RegisterMessages() OVERRIDE; |
| - // Fills |source| with string values for the UI. |
| - void GetLocalizedValues(content::WebUIDataSource* source); |
| + // Adds string values for the UI to |localized_strings|. |
| + static void GetLocalizedValues(base::DictionaryValue* localized_strings); |
|
Dan Beam
2014/08/13 02:50:46
Y U NO FORWARD DECLARE DictionaryValue?
michaelpg
2014/08/13 08:12:11
let me know if this is overboard or correct
|
| // NotificationObserver implementation. |
| virtual void Observe(int type, const content::NotificationSource& source, |