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

Unified Diff: chrome/browser/ui/webui/options/language_options_handler.h

Issue 2820823005: Revert of Stop passing raw pointers to base::Value API in c/b/ui (Closed)
Patch Set: Created 3 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/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 93943cd67447bf8a8250a267e5866d2784ef7b6e..41725792ee0ec1bcd0bbc6b2b15f7ea3267ec678 100644
--- a/chrome/browser/ui/webui/options/language_options_handler.h
+++ b/chrome/browser/ui/webui/options/language_options_handler.h
@@ -5,14 +5,8 @@
#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 {
@@ -35,7 +29,7 @@
// The return value will look like:
// [{'code': 'fi', 'displayName': 'Finnish', 'nativeDisplayName': 'suomi'},
// ...]
- static std::unique_ptr<base::ListValue> GetLanguageList();
+ static base::ListValue* GetLanguageList();
private:
// LanguageOptionsHandlerCommon implementation.

Powered by Google App Engine
This is Rietveld 408576698