Index: chrome/browser/ui/webui/options/language_options_handler.h |
diff --git a/chrome/browser/ui/webui/options/language_options_handler.h b/chrome/browser/ui/webui/options/language_options_handler.h |
index 41725792ee0ec1bcd0bbc6b2b15f7ea3267ec678..93943cd67447bf8a8250a267e5866d2784ef7b6e 100644 |
--- a/chrome/browser/ui/webui/options/language_options_handler.h |
+++ b/chrome/browser/ui/webui/options/language_options_handler.h |
@@ -5,9 +5,15 @@ |
#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_LANGUAGE_OPTIONS_HANDLER_H_ |
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_LANGUAGE_OPTIONS_HANDLER_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
#include "chrome/browser/ui/webui/options/language_options_handler_common.h" |
+namespace base { |
+class ListValue; |
+} |
+ |
namespace options { |
// Language options UI page handler for non-Chrome OS platforms. For Chrome OS, |
@@ -29,7 +35,7 @@ class LanguageOptionsHandler : public LanguageOptionsHandlerCommon { |
// The return value will look like: |
// [{'code': 'fi', 'displayName': 'Finnish', 'nativeDisplayName': 'suomi'}, |
// ...] |
- static base::ListValue* GetLanguageList(); |
+ static std::unique_ptr<base::ListValue> GetLanguageList(); |
private: |
// LanguageOptionsHandlerCommon implementation. |